Академический Документы
Профессиональный Документы
Культура Документы
# nano /etc/bind/named.conf.local
3 Isi konfigurasi file sbb :
zone "smk-pi.sch.id" {
type master;
file "/etc/bind/for.local";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/rev.local";
};
# named-checkconf /etc/bind/named.conf.local
# cp /etc/bind/db.local /etc/bind/for.local
# nano /etc/bind/for.local
7 Isi konfigurasi file sbb :
$TTL 604800
@ IN SOA smk-pi.sch.id. root.smk-pi.sch.id. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS smk-pi.sch.id.
@ IN A 192.168.0.1
@ IN AAAA ::1
www IN A 192.168.0.1
# cp /etc/bind/db.127 /etc/bind/rev.local
# nano /etc/bind/rev.local
10 Isi konfigurasi file sbb :
;
; BIND reverse data file for local loopback
interface
;
$TTL 604800
@ IN SOA smk-pi.sch.id. root.smk-pi.sch.id. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS smk-pi.sch.id.
1 IN PTR smk-pi.sch.id.
# /etc/init.d/bind9 restart
search smk-pi.sch.id
nameserver 192.168.0.1
# ping smk-pi.sch.id
# nslookup 192.168.0.1
3 Lakukan pencarian record dns server dengan dig