> >>[root@ns2 root]# cat /etc/rndc.key
> >>key "rndckey" {
> >>        algorithm       hmac-md5;
> >>        secret
> >>"zt6bTTpQ9NTDowk0pWPUZwvtdqbAY5oqyrxAIPSYZA8T8qCoHQvYXvL1afxZ";
> >>};
> >>
> How about checking /etc/rndc.conf , is key the above matchingthe key in
> /etc/rndc.conf. What is the error in logs when try to start it?
> Check for  extra semicolons in /etc/named.conf around the rndc entry.

I have not posted the exact key, for i changed some alphabets at random.. i
am posting the /etc/named.conf file here. again, i dont see any erros
regarding semicolons.

>Now paste the corresponding entry from your /etc/named.conf as well.
>IIRC, this is a known bug in RedHat 7.x | x (- [0,3]

[root@ns2 root]# cat /etc/named.conf
// generated by named-bootconf.pl

options {
        directory "/var/named";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};


zone "mydomain.stpn.soft.net" IN {
        type master;
        file "mydomain.stpn.soft.net.zone";
        allow-update { none; };
};


zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "0.0.127.in-addr.arpa.zone";
        allow-update { none; };
};

zone "126.199.202.in-addr.arpa" IN {
        type master;
        file "126.199.202.in-addr.arpa.zone";
        allow-update { none; };
};
include "/etc/rndc.key";






-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to