Installing and Administering Internet Services
Chapter 3 143
Configuring and Administering the BIND Name Service
Troubleshooting the BIND Name Server
remote SOA serial number for this zone.
• ping
IP_address
Verify connectivity to the server the secondary is trying to load
from. If the host is temporarily unreachable, the secondary server
will load when it is reachable.
• nslookup
Use nslookup and set the name server to the master the
secondary is trying to load from.
$ nslookup
> server
server_name or IP_address
> ls
domain
The ls command initiates a zone transfer. If the error message is
No response from server, then no server is running on the
remote host. If the ls command succeeds, the secondary should be
able to load the data from this server.
7. Incorrect subdomain delegation may be caused by missing or
incorrect NS or A records in the parent server for the subdomain.
• nslookup
Use nslookup to query the parent server for delegation
information. Execute the following:
$ nslookup
> server
parent_server_name or IP_address
> set type=ns
>
subdomain_name
This should show you the NS and A records for the subdomain
servers, as seen in the example below. In the example, the
subdomain is delegated correctly.
hershey.div.inc.com:rootk> nslookup
Default Name Server: hershey.div.inc.com
Addresses: 15.19.14.100, 15.19.15.100
hershey is the default name server for this host.
> server eduardo.doc.inc.com.
Default Name Server: eduardo.doc.inc.com
Address: 15.19.11.2
Set the default name server to be this subdomain’s parent server,
eduardo.