• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 981
  • 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

  • 3
  • 2
1 Solution
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.
Do you have the control statement setup properly in named.conf?

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

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

Open in new window

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.
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.
D_wathiAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

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