[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BIND9 rndc-confgen, rndc with remedial error..



Ran rndc-confgen, made sure copies were in /etc as well as /var/named/etc.

Updated the named.conf file with output from (above), the named.conf portion only.

Tried restarting everything, and get the error (below) which
has defied logic.

Geeezzz, the output directly from rndc-confgen is *not* acceptable!
Why?

----------------------------sample -----------
srv3-meb# rndc reload
rndc: error: /etc/rndc.key:7: unknown option 'options'
rndc: could not load rndc configuration
srv3-meb#

srv3-meb# cat /etc/rndc.key
# Start of rndc.conf
key "rndc-key" {
        algorithm hmac-md5;
        secret "U/Y0jnCnCOfjvtDABYU02A==";
};

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



-- 
Randy Lewis, RTMX.NET
----
http://rtmx.net
----
919 644 6456 (Hillsborough NOC)
919 644 7869 (Hillsborough Engineering/Sales)
919 259 7869 (Chapel Hill)
919 328 7869 (Durham)
336 303 7869 (Greensboro)
919 227 7869 (Raleigh)
910 744 7869 (Wilmington)
336 531 7869 (Winston-Salem)