DNS SERVER
install
apt-get install bind9 bind9-doc dnsutils
konfigurasi
nano /etc/bind/named.conf.local
zone "smknegeri2.com" {
type master;
file "/var/cache/bind/forward";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/var/cache/bind/reverse";
};
cp /etc/bind/db.local /var/cache/bind/forward
nano /var/cache/bind/forward
bind forward data file for zone smknegeri2.com
server.smknegeri2.com root.smknegeri2.com
@ IN NS server.smknegeri2.com
@ IN A 192.168.1.1
server IN A 192.168.1.1
www IN CNAME server.smknegeri2.com
mail IN CNAME server.smknegeri2.com
cp /etc/bind/db.127 /var/cache/bind/reverse
nano /var/cache/bind/reverse
BIND reverse data file for zone smknegeri2.com
@ IN NS server.smknegeri2.com
1 IN PTR server.smknegeri2.com
1 IN PTR www.smknegeri2.com
1 IN PTR mail.smknegeri2.com
nano /etc/resolv.conf
search nameserver 192.168.1.1
nano /etc/hostname/
nano /etc/host/
setelah selesai konfigurasi restart bind
/etc/init.d/bind9 restart
pengujian
di server
dig @192.168.1.1 smknegeri2.com
penguian dg nslookup
nslookup www.smknegeri2.com
Pengujian di client
masuk ke cmd ketikkan
nslookup www.smknegeri2.com
Selesai "Smoga bermanfaat"
Rabu, 08 Februari 2012
Langganan:
Posting Komentar (Atom)
1 komentar:
Gan uraiannya kurang rapi...
sbnrrnya dh bgus...
keep wtite y
Posting Komentar