bind service restart message on ubuntu server

Posted on 2011-10-05
Last Modified: 2012-05-12
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

Question by:D_wathi
    LVL 21

    Expert Comment

    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.
    LVL 21

    Expert Comment

    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


    Author Comment

    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.
    LVL 21

    Accepted Solution

    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.

    Author Closing Comment


    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
    If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now