rndc: neither /etc/rndc.conf nor /etc/rndc.key was found

ARUN Posted in DIRECT ADMIN, DNS
0

Getting below message on direct admin server while named status is checked :.

[[email protected] ]# service named status
rndc: neither /etc/rndc.conf nor /etc/rndc.key was found

Solution :

rndc-confgen >> /etc/rndc.conf

Open  /etc/rndc.conf

cat /etc/rndc.conf

Add the content of key file as mentioned below to the end of named.conf

cp -ar /etc/named.conf /etc/named.conf.bak

A sample of the file part to be added is mentioned below :

=================================================================

# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
 key "rndc-key" {
       algorithm hmac-md5;
       secret "9Agjel9AAghshhs85k0g==";
 };

 controls {
       inet 127.0.0.1 port 953
               allow { 127.0.0.1; } keys { "rndc-key"; };
 };
# End of named.conf
=================================================================================

 Restart named   /etc/init.d/named restart

WHM does not show the nameserverips

ARUN Posted in DNS, WHM BACKEND, WHM FRONTEND
0

Main >> DNS Functions >> Nameserver IPs   does not show the nameserverips

Solution :

cp -ar /var/cpanel/nameserverips.yaml /var/cpanel/nameserverips.yaml.bak

vi /var/cpanel/nameserverips.yaml

Should look like below :

**************************************************

---
ns1.arunp.in:
  226.58.71.189: 1
  count: '2'
zones: giftnfun.com,arunp.in
ns2.nandamurifans.com:
226.58.71.190: 1
  count: '2'
zones: giftnfun.com,arunp.in

**************************************************

Please make sure that “1″ marked in RED should be altered as well. default will be “0″.

Restart cpanel and relogin

Default location of named.conf

ARUN Posted in DNS
0

/var/named/chroot/etc/nameserver.conf

view internal: received notify for zone

ARUN Posted in DNS
0

In /var/log/messages we are getting a lot of entries like :

Mar  3 06:09:13 server named[25625]: client xxx.xxx.xxx.xxx#18993: view internal: received notify for zone ‘example.com’

Solution :

chmod g+w /var/named

DNS REPORT

ARUN Posted in DNS, Uncategorized
0

NS records at parent servers means

——->NAMESERVERS SPECIFIED AT REGISTRAR

Your NS records at your nameservers are: means

——–> NAMESERVERS SPECIFIED AT SERVER

Updating Ip List from Whois database

ARUN Posted in DNS, WHM FRONTEND
0

While adding the nameserver through WHM >> nameserver Ips > it shows

“Updating Ip List from Whois database” and wont update.

Solution :

Custom nameserver in WHM

ARUN Posted in DNS, WHM BACKEND, WHM FRONTEND
0

ns1   IN   A  MAIN SERVER IP ADDRESS

ns2  IN   A  IP ADDRESS

named conf

ARUN Posted in DNS
0

vi /etc/named.conf

cd /var/named/domain.com.db