The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

bind error

Discussion in 'Bind / DNS / Nameserver Issues' started by mickalo, Feb 7, 2007.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Hello,

    we updated bind via the up2date earlier today:
    Code:
    bind-chroot-9.2.4-24.EL4
    bind-libs-9.2.4-24.EL4
    bind-9.2.4-24.EL4
    bind-devel-9.2.4-24.EL4
    bind-utils-9.2.4-24.EL4
    
    when named is restarted we get this error now:
    Code:
    service named status
    rndc: no key definition for name rndckey
    
    According to previous posting with this type of problem, running the /scripts/fixrndc is suppose to fix this problem. Is this the correct method to solve this issue ?

    Update:
    after further digging, found the problem in the rndc.conf and after correcting it, that seem to fix the problem.


    Thx's
    Mickalo
     
    #1 mickalo, Feb 7, 2007
    Last edited: Feb 7, 2007
  2. WillyBoy

    WillyBoy Member

    Joined:
    Jan 23, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    How did you fix it? If possible please include the steps taken :)
    thanks,
    WillyBoy
     
  3. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    In my case I had to change the rndc.conf after the update. open the /etc/rndc.confc and change this:
    Code:
    options {
            default-server  localhost;
            default-key     "rndckey";
    };
    
    server localhost {
            key     "rndckey";
    };
    
    To this:
    Code:
    options {
            default-server  localhost;
            default-key     "key";
    };
    
    server localhost {
            key     "key";
    }
    
    the "rndckey" need to be changed to "key"

    Hope this helps
    Mickalo
     
    rs-freddo likes this.
  4. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Thanks..............
     
  5. yaax

    yaax Well-Known Member

    Joined:
    Jun 15, 2003
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Thanks that also helped me.
     
  6. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    no specific effects, it was just a type-O error in the file, referencing the wrong key name.

    Mickalo
     
  7. lbeachmike

    lbeachmike Well-Known Member

    Joined:
    Dec 27, 2001
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Long Beach, NY
    cPanel Access Level:
    Root Administrator
    What is the specific effect this change has?

    Thanks.
     
Loading...

Share This Page