top of page
Parallel Lines
Search

Konfigurasi Interface dan DNS Server

  • heydanscrut
  • Dec 18, 2023
  • 1 min read

Pertemuan 13

Konfigurasi Interface dan DNS di Sistem Operasi Linux


  1. Login sebagai root

ree

2. Edit file interfaces di dalam directory network nano /etc/network/interfaces

ree


3. Ganti menjadi auto eth0, lalu simpan dengan menekan tombol Crtl + X tekan Y kemudian enter.

ree


4. Restart services networking

/etc/init.d/networking restart

ree

ree


5. Tes koneksi ip address yang sudah di konfigurasi Ping 192.168.42.1

ree


6. Edit file hostname nano /etc/hostname

ree


7. Edit file hosts nano /etc/hosts

ree


8. Install paket untuk DNS (bind9) apt-get install bind9

ree


9. Pindah ke direktory Bind cd /etc/bind

nano named.conf.local

ree

10. Copy file db.local menjadi db.www dan copy file db.127 menjadi db.ip

cp db.local db.www cp db.127 db.ip

ree


11. Edit File db.www nano db.www

ree


12. Edit File db.ip nano db.ip

ree


13. Edit file resolv.conf nano /etc/resolv.conf

ree


14. Restart Bind9

/etc/init.d/bind9 restart

ree


15. Tes Koneksi DNS Server

ree

 
 
 

Comments


IMG_5123_edited.jpg

© 2035 by Charley Knox. Powered and secured by Wix

bottom of page