Startup Failure of the DNS Named Processes due to the Incorrect Format of Zone F

abrahim
abrahim  Diamond  (1)
7 years 10 months ago  View: 1685  Reply: 5
1F

After the configuration of a DNS server in a site is modified, the DNS named process fails to start during verification.

  • The path to the named files is not specified in the inetsvc file.
  • The host name in the hosts file is different from the host name in the hostname.qfe1 file.
  • The configuration or format of the named.conf file is incorrect.
  • The format of every zone file is incorrect.
  1. Check whether the inetsvc file is normal.

    This file is automatically executed during the startup of the system. Be sure to check whether the path is specified in the named file. You can find that the path to the named file is correct.

    # vi /etc/init.d/inetsvc

    Check the following fields:

    if [ -f /usr/local/sbin/named -a -f /etc/named.conf ]; then echo starting internet domain name server. /usr/local/sbin/named & fi
  2. Check whether the files hosts and hostname.qfe1 are normal.

    The Master operation is to check whether the host name associated with the IP address in the hosts file is the same as the host name in the hostname.qfe1 file. If no, the named process cannot be started.

    The contents in the Hosts file are as follows:

    127.0.0.1     localhost 10.238.46.228 XJDNS01BHW.XJ.GPRS.Chinamobile.com 10.238.46.214 DNSMASTER_MAINTAIN

    The contents in the Hostname.qfe1 file are as follows:

    XJDNS01BHW.XJ.GPRS.Chinamobile.com

    The configuration information in these files is correct.

  3. Check the configuration of the named.conf file.

    Run the following command:

    /usr/local/sbin/named-checkconf /etc/named.conf 

    You can find that the named.conf file is normal.

  4. Check whether every zone file is normal.
  5. Check the named.cache file.

    Run /usr/local/sbin/named-checkzone /var/named/named.cache. An error message is returned. You can find an additional semicolon (;) on the last line of the file. Delete the semicolon from the named.cache file and restart the named process

Alaul
Alaul  Diamond 
7 years 10 months ago
2F
Really good doc and seems DNS expert.Thanks
zsiddique
zsiddique  Platinum 
7 years 10 months ago
3F
Very good documents
Alaul
Alaul  Diamond 
7 years 10 months ago
4F
Sound good......
mjali
mjali  Platinum 
7 years 10 months ago
5F
Technically very sound and this is very rich doc.Thanks .............
zsiddique
zsiddique  Platinum 
7 years 10 months ago
6F
DNS Expert thanks for share the info.........