Link to home
Start Free TrialLog in
Avatar of Goutham
GouthamFlag for India

asked on

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

Avatar of Papertrip
Papertrip
Flag of United States of America image

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 127.0.0.1 port 953
                allow { 127.0.0.1; } keys { "rndc-key"; };
};

Open in new window

Avatar of Goutham

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Papertrip
Papertrip
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Goutham

ASKER

Excellent