Find the answer to your Linux question:
Results 1 to 4 of 4
I installed bind package and did as per the instruction given in the documentation but i am getting this error and i dont know waht is happening [root@localhost /]# /etc/rc.d/init.d/named ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! pratapsingh's Avatar
    Join Date
    Feb 2009
    Posts
    82

    Smile How to fix the problem with Bind configuration


    I installed bind package and did as per the instruction given in the documentation but i am getting this error and i dont know waht is happening

    [root@localhost /]# /etc/rc.d/init.d/named restart
    Stopping named: [ OK ]
    Starting named: [FAILED]


    root@localhost /]# tail -10 /var/log/messages
    Feb 15 22:43:44 localhost named[5446]: starting BIND 9.3.4-P1 -u named
    Feb 15 22:43:44 localhost named[5446]: found 1 CPU, using 1 worker thread
    Feb 15 22:43:44 localhost named[5446]: loading configuration from '/etc/named.conf'
    Feb 15 22:43:44 localhost named[5446]: listening on IPv4 interface lo, 127.0.0.1#53
    Feb 15 22:43:44 localhost named[5446]: listening on IPv4 interface eth0, 192.168.0.221#53
    Feb 15 22:43:44 localhost named[5446]: /etc/named.conf:100: configuring key 'ddns_key': bad base64 encoding
    Feb 15 22:43:44 localhost named[5446]: loading configuration: bad base64 encoding
    Feb 15 22:43:44 localhost named[5446]: exiting (due to fatal error)

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,756

  3. #3
    Just Joined! pratapsingh's Avatar
    Join Date
    Feb 2009
    Posts
    82

    Smile thanks buddy but i have got the solution..

    it was a problem with has ....
    /usr/sbin/dns-keygen
    run this command and u will get a hash key ...
    copy that hash key and paste it in your named .conf file in this part
    key ddns_key
    {
    algorithm hmac-md5;
    secret "/usr/... some text will be here just paste your has key here with in the qouted string";
    };

  4. #4
    Just Joined!
    Join Date
    Jan 2013
    Posts
    1

    Issue gone with the fix

    Quote Originally Posted by pratapsingh View Post
    it was a problem with has ....
    /usr/sbin/dns-keygen
    run this command and u will get a hash key ...
    copy that hash key and paste it in your named .conf file in this part
    key ddns_key
    {
    algorithm hmac-md5;
    secret "/usr/... some text will be here just paste your has key here with in the qouted string";
    };
    It works fine with command /usr/sbin/dns-keygen.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •