Difference between revisions of "Testing bind server configuration"

From Notes_Wiki
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Testing bind server configuration=
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Bind DNS server configuration]] > [[Testing bind server configuration]]


==Checking response times==
=Checking zonefiles=
 
To checkzone files one can use '<tt>named-checkzone</tt>' command as:
<pre>
named-checkzone <zone_name> <file_name>
</pre>
to check description of zone named &lt;zone_name&gt; in file named &lt;file_name&gt;
 
 
=Checking configuration=
 
To check configuration file such as '<tt>named.conf</tt>' use:
<pre>
named-checkconf [<file_name>]
</pre>
 
 
=Checking response times=


One of the parameters that can be tested for DNS servers is response time. We can use command:
One of the parameters that can be tested for DNS servers is response time. We can use command:
Line 10: Line 27:




Back to [[Bind DNS server configuration]]
 
 
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Bind DNS server configuration]] > [[Testing bind server configuration]]

Latest revision as of 08:22, 10 March 2022

Home > CentOS > CentOS 6.x > Bind DNS server configuration > 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.



Home > CentOS > CentOS 6.x > Bind DNS server configuration > Testing bind server configuration