langkah-langkah DNS server:
1.install paket BIND9 sudo apt-get install bind9,
dan paket sudo apt-get install dnsutils
pastikan sudah konek internet(agar dapat menginstall DNS)
2.edit ethernet, /etc/network/interfaces eth0
isikan dengan alamat ip kita, cek dulu di: ifconfig
3.edit, /etc/bind/named.conf.options(slise nya dihilangin, masukin ip kita. ctr,y)
4.edit, /etc/named.conf.local(ketik: zone "nama domain"{type master;file"/etc/bind/db.nunu.com";}
zone"80.168.192.i.addr.arp"{type master;file"/etc/bind/db.192";};)
5.tambahkan, sudo cp /etc/bind/db.local/etc/bind/db.sfi.com
(mengkopi file ke domain kita )
6.tambahkan, sudo cp /etc/bind/db.127 /etc/bind/db.192
7.edit RESERVE, /etc/resolve.conf
8.edit file, /etc/hosts
9.restart service, sudo /etc/init.d/bind9 restart
10.restart service sudo, /etc/init.d/networking restart
Tidak ada komentar:
Posting Komentar