Menu

#2350 RNDC install fails; cannot find key in rndc.conf

open
5
2005-12-01
2005-12-01
Alexis
No

I am running Webmin 1.220 with BIND 8 on a SuSE Linux
Enterprise Server 9.

I have tried installing RNDC countless times on this
server, but it always fails.

I have used an include of "/etc/rndc.key" as well as
explicitly stating the key in the /etc/named.conf
file. I have deleted all references to it. I have
changed the key manually, changed it back to the
automatic system key.

In short, I don't understand why this isn't working.
Any thoughts?

Thanks,
Alexis

Discussion

  • Jamie Cameron

    Jamie Cameron - 2005-12-01

    Logged In: YES
    user_id=129364

    Are you getting this error when you use the 'Setup RNDC'
    page in the BIND module? If not, when does the error occur
    exactly?

     
  • Alexis

    Alexis - 2006-01-06

    screenshot -- set up rndc

     
  • Alexis

    Alexis - 2006-01-06

    Logged In: YES
    user_id=1394456

    yes, i am trying to install RNDC via the Webmin browser
    interface. I get no explicit errors telling me what is
    wrong in the Webmin browser, but receive a generic error
    message.

     
  • Alexis

    Alexis - 2006-01-06

    screenshot -- failed rndc

     
  • Alexis

    Alexis - 2006-01-06

    Logged In: YES
    user_id=1394456

    also, note (per an emailed question on this issue a month
    ago) -- the rndc-confgen code returns the following. it
    seems to me like it's doing what Webmin would expect.

    ns1:~ # rndc-confgen
    # Start of rndc.conf
    key "rndc-key" {
    algorithm hmac-md5;
    secret "Hbt5/k9zIx88XjWDlIiyRQ==";
    };

    options {
    default-key "rndc-key";
    default-server 127.0.0.1;
    default-port 953;
    };
    # End of rndc.conf

    # Use with the following in named.conf, adjusting the
    allow list as needed:
    # key "rndc-key" {
    # algorithm hmac-md5;
    # secret "Hbt5/k9zIx88XjWDlIiyRQ==";
    # };
    #
    # controls {
    # inet 127.0.0.1 port 953
    # allow { 127.0.0.1; } keys { "rndc-key"; };
    # };
    # End of named.conf
    ns1:~ #

     
  • Jamie Cameron

    Jamie Cameron - 2006-01-07

    Logged In: YES
    user_id=129364

    What is the exact error message you are seeing in Webmin
    when you try to setup rndc?
    The output from rndc-confgen looks OK though..

     

Log in to post a comment.

Auth0 Logo