Difference between revisions of "Testing bind server configuration"
From Notes_Wiki
m |
m |
||
Line 1: | Line 1: | ||
<yambe:breadcrumb self=" | <yambe:breadcrumb self="Testing configuration">Bind DNS server configuration | Bind DNS</yambe:breadcrumb> | ||
=Testing bind server configuration= | =Testing bind server configuration= | ||
Line 27: | Line 27: | ||
</pre> | </pre> | ||
command to see how fast a given nameserver is able to resolve queried domain. | command to see how fast a given nameserver is able to resolve queried domain. | ||
<yambe:breadcrumb self="Testing configuration">Bind DNS server configuration | Bind DNS</yambe:breadcrumb> |
Revision as of 09:25, 2 December 2012
<yambe:breadcrumb self="Testing configuration">Bind DNS server configuration | Bind DNS</yambe:breadcrumb>
Testing bind server configuration
Checking zonefiles
To checkzone files one can use 'named-checkzone' command as:
named-checkzone <zone_name> <file_name>
to check description of zone named <zone_name> in file named <file_name>
Checking configuration
To check configuration file such as 'named.conf' use:
named-checkconf [<file_name>]
Checking response times
One of the parameters that can be tested for DNS servers is response time. We can use command:
dig @<nameserver_IP> <test_domain> | grep time
command to see how fast a given nameserver is able to resolve queried domain.
<yambe:breadcrumb self="Testing configuration">Bind DNS server configuration | Bind DNS</yambe:breadcrumb>