Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    110

    Default Fix for ndc and rndc get key definition: not found errors

    CPanel does not setup the key statements correctly for ndc and rndc on Bind 9+ servers.

    To fix this you will need to check and modify the following files:
    /etc/named.conf
    /etc/rndc.conf
    /etc/rndc.key

    In these files, it is setting the key to \"key\" and \"rndckey\". They should ALL be set to \"rndckey\" to work correctly. (Note: If all the key settings are pointing to \"key\" then that will work also... Just make sure that they all match, whatever you call them).

    For example, the following files should look like this:

    /etc/named.conf
    =============================================================

    key \"rndckey\" {
    algorithm \"hmac-md5\";
    secret \"secret_key_that_is_already_there\";
    };


    controls {
    inet 127.0.0.1 allow { localhost; } keys { \"rndckey\"; };
    };


    /etc/rndc.conf
    =============================================================

    options {
    default-server localhost;
    default-key \"rndckey\";
    };

    server localhost {
    key \"rndckey\";
    };

    key \"rndckey\" {
    algorithm \"hmac-md5\";
    secret \"secret_key_that_is_already_there;
    };


    /etc/rndc.key
    =============================================================

    key \"rndckey\" {
    algorithm \"hmac-md5\";
    secret \"secret_key_that_is_already_there\";
    };

    Hope this helps someone...

    Jump Domain

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    91

    Default

    Tnx for sharing mate

Similar Threads & Tags
Similar threads

  1. Fatal, neither ndc or rndc was found on this server (host.domain.com).
    By gopederick in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-12-2005, 08:49 PM
  2. Fatal, neither ndc or rndc was found
    By jcase in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-27-2004, 10:17 AM
  3. rndc Error reloading bind - rndc: get key: not found
    By rodstewart in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-05-2004, 04:35 PM
  4. ndc: get key definition: not found
    By bdraco in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-31-2002, 11:40 PM
  5. ndc: get key definition: not found
    By danok in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-30-2002, 03:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube