- 44-
www
IN A 200.201.202.1
tankhoi01 IN A 200.201.202.1
tankhoi02 IN A 200.201.202.2
12.1.5. Tập tin /var/named/edu.vn.zone
$TTL 86400
@ IN SOA edu. root.localhost (
2 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS 200.201.202.1.
www
IN A 200.201.202.1
tankhoi01 IN A 200.201.202.1
tankhoi02 IN A 200.201.202.2
12.1.6. Tập tin /var/named/0.0.127.in-addr.arpa.zone
$TTL 86400
@ IN SOA localhost. root.linuxsvr.dng.vn (
36 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttk
)
@ IN NS localhost.
1 IN PTR localhost.
1 IN PTR www.
1 IN PTR tankhoi01.
2 IN PTR tankhoi02.
1 IN PTR www.
1 IN PTR tankhoi01.
2 IN PTR tankhoi02.
12.1.7. Tập tin /var/named/localhost.zone
$TTL 86400
@ IN SOA @ root.localhost (
1 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS localhost.
@ IN A 127.0.0.1
12.1.8. Lệnh khởi động dịch vụ DNS
/etc/init.d/named restart