ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label named.conf. Show all posts
Showing posts with label named.conf. Show all posts

2009/12/23

How to check DNS zone file configuration for errors

You can use the named-checkzone command to check the zone db for errors:-

[root@server]# named-checkzone abhionlinux.com /var/named/abhionlinux.com.db
Output:-
zone abhionlinux.com/IN: loaded serial 12
OK


or

[root@server]# named-checkconf /etc/named.conf