Open main menu

CDOT Wiki β

Changes

OPS535-L2

29 bytes added, 11:55, 16 May 2018
m
Undo revision 134038 by Peter.callaghan (talk)
= Running and testing the DNS server =
* Make sure that you have "named-chroot.service" enableenabled.* Start the "named" service: systemctl start named-chroot.service * Check the status of the "named" service: systemctl status named-chroot.service. Make sure the "named-chroot" service is active and running. If the "named" service failed to start, check for typo or syntax error in the BIND configuration file /etc/named.conf and your forward and reverse lookup zone files. There are two utilities provided by the "bind" package. They are called "named-checkconf" and "named-checkzone", and both are in the /usr/sbin directory.
** named-checkconf can be used to check for typo or syntax errors in named.conf.
** named-checkzone can be used to check for type or syntax errors in your zone files.
* Review the output of each DNS query result and compare it with the expected value as derived from the corresponding DNS resource record in the zone file. If there is any mismatch, employ your troubleshooting skill to fix it.
As an example, if an authoritative DNS server with IP address 192.168.99,.53 has the cp.net zone file:
<pre>
$TTL 300
932
edits