[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 915
  • Last Modified:

bind service restart message on ubuntu server

Dear Experts:

Installed and configured ddns on ubuntu server when ever bind is restarted iam coming across the message like below, also set the exact time for the by executing the command sudo hwclock --hctys.
/etc/init.d/bind9 restart
[sudo] password for indar:
 * Stopping domain name service... bind9                                        rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized, or
* the key is invalid.
                                                                         [ OK ]
 * Starting domain name service... bind9                                 [ OK ]
--------------------------------
as of now date
Wed Oct  5 22:18:54 IST 2011
which is correct

Please help me to fix this

Thanks in advance

0
D_wathi
Asked:
D_wathi
  • 3
  • 2
1 Solution
 
PapertripCommented:
Need to see information from the bind logs at that time.

When bind is running, use 'rndc status' to check if rndc key is working.
0
 
PapertripCommented:
Do you have the control statement setup properly in named.conf?

key "rndc-key" {
        algorithm hmac-md5;
        secret "SjY8G9EoWvLCP+JWg==";
};

controls {
        inet 127.0.0.1 port 953
                allow { 127.0.0.1; } keys { "rndc-key"; };
};

Open in new window

0
 
D_wathiAuthor Commented:
Sir, thank you very much for the reply,

Instead of rndc-key in the controls statement i had given ddns-key , as per your post changed now that message is n you very much.

Papertrip sir,

2 requests

1. please check my other question regarding the journal file, please help me in the last updated post , please sir.

2. as you were mentioning about the training can you please share the details so that if online i can participate please.

Thank you very much.
0
 
PapertripCommented:
ddns-key is only for the dynamic zones.  You must use rndc-key for the control statement.

I replied to the other question but I have to go into the office for a bit.
0
 
D_wathiAuthor Commented:
Excellent
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now