Showing posts with label Named. Show all posts
Showing posts with label Named. Show all posts

named issue

0 comments

Issue:- named service is running in the server. But, domains are not resolving to any query.


Cause: If you find the following error in the log file, then it seems to be a bug in CentOS version 5 and cPanel version 11.


view localhost_resolver: received notify for zone ‘domain.com’: not authoritative


Fix:


1. Open the named configuration file /etc/named.conf


2. Search the following entries in external views



match-clients         { localhost; };
match-destinations    { localhost; };

3. Change them as follows:



match-clients { any; };
match-destinations { any; };

4. Restart named service.



Error: Named rndc.key while starting

0 comments
When trying to restart named process after making modifications may end up in a corrupt rndc.key key and the error will show like this:

Sep 12 03:30:54 server named[23683]: /etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding
Sep 12 03:30:54 server named[23683]: loading configuration: bad base64 encoding
Sep 12 03:30:54 server named[23683]: exiting (due to fatal error)


A simple explanation to this is that the key got modified somehow might me some bug.
What to do about this? Well it is simple just check the /etc/rndc.conf file and copy the key from there(you will see the key in the first lines of the file) and replace the key that it is in /etc/rndc.key file and restart named process.

# service named restart



Stopping named: [ OK ]
Starting named: [ OK ]

Go_GrEen^ThiNk_GReeN~LoVE_GreEn - Pushkar

Error: Named rndc.key while starting

0 comments
When trying to restart named process after making modifications may end up in a corrupt rndc.key key and the error will show like this:

Sep 12 03:30:54 server named[23683]: /etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding
Sep 12 03:30:54 server named[23683]: loading configuration: bad base64 encoding
Sep 12 03:30:54 server named[23683]: exiting (due to fatal error)


A simple explanation to this is that the key got modified somehow might me some bug.
What to do about this? Well it is simple just check the /etc/rndc.conf file and copy the key from there(you will see the key in the first lines of the file) and replace the key that it is in /etc/rndc.key file and restart named process.

# service named restart



Stopping named: [ OK ]
Starting named: [ OK ]

Go_GrEen^ThiNk_GReeN~LoVE_GreEn - Pushkar

Named rndc.key Error While Starting

0 comments
When trying to restart named process after making modifications may end up in a corrupt rndc.key key and the error will show like this:

Jul 07 03:30:54 server named[23683]: /etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding
Jul 07 03:30:54 server named[23683]: loading configuration: bad base64 encoding
Jul 07 03:30:54 server named[23683]: exiting (due to fatal error)

A simple explanation to this is that the key got modified somehow might me some bug.
Just check the /etc/rndc.conf file and copy the key from there(you will see the key in the first lines of the file) and replace the key that it is in /etc/rndc.key file and restart named process.


#  service named restart
Stopping named: [ OK ]
Starting named: [ OK ]