root.dudi.oke. (
; serial (d. adams)
3H
15M
1W
1D )
;
;
;
;
refresh
retry
expiry
minimum
IN NS
ns.dudi.oke.
IN A
192.168.1.229
IN MX 10
mail.dudi.oke.
mail
IN A
192.168.1.229
blog
IN A
192.168.1.229
forum
IN A
192.168.1.229
www
IN CNAME
dudi.oke.
------------------------------------# chgrp named dudi.zone
# service named restart
# tail /var/log/messages --> apakah konfigurasi domain sudah diload ?
# dig dudi.oke @127.0.0.1 --> Pengujian domain
Membuat Top Level Domain
-----------------------Top Level domain yang dibuat ".oke"
# vim /etc/named.rfc1912.zones
Ke paling bawah
zone "oke" IN {
type master;
file "oke.zone";
};
--------------------------------# cd /var/named/chroot/var/named
# cp localhost.zone oke.zone
# vim oke.zone
------------------------------------$TTL
86400
$ORIGIN oke.
@
IN SOA ns.oke.
root.oke. (
42
3H
15M
1W
1D )
;
;
;
;
;
IN NS
ns.oke.
IN A
192.168.1.68
;Diisi dengan konfigurasi untuk DNS PC Klien
dudi.oke.
IN NS
ns.dudi.oke.
ns.dudi.oke.
IN A
192.168.1.229
toto.oke.
IN NS
ns.toto.oke.
ns.toto.oke.
IN A
192.168.1.230
------------------------------------# chgrp named oke.zone
# service named restart
PC Klien diminta mengubah /etc/resolv.conf ke server tld ".oke"