Goutham
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
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
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"; };
};
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent
When bind is running, use 'rndc status' to check if rndc key is working.