named.conf question (controls statement being ignored)

Nick Twaddell nick at webspacesolutions.com
Tue Jan 13 01:08:07 PST 2004


This is my config...

Named.conf
key "rndc-key" {
        algorithm hmac-md5;
        secret "keyhashstuff";
};
controls {
        inet 127.0.0.1 port 953
        allow { 127.0.0.1; } keys { "rndc-key"; };
};

Rndc.conf
key "rndc-key" {
        algorithm hmac-md5;
        secret "keyhashstuff";
};
options {
        default-key "rndc-key";
        default-server 127.0.0.1;
        default-port 953;
};

Hopefully that will help :)


-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of August Simonelli
Sent: Tuesday, January 13, 2004 1:01 AM
To: FreeBSD-questions
Subject: named.conf question (controls statement being ignored)

Hi all,

I've just installed bind9 from ports. I've got everything set up and 
the nameserver works except rndc. I've followed numerous instructions 
(bind howto, freebsd ezine) and still keep getting a strange error in 
my syslog. I won't post named.conf or rndc.conf yet as the error 
doesn't seem to point to them as being the problem. When i run 
/usr/sbin/named everything starts ok but i get:

/etc/namedb/named.conf:102: Ignoring BIND 9 inet control clause

in /var/log/messages

my controls statement in named.conf is:

controls {
         inet 127.0.0.1 allow { localhost; } keys { "mykey"; };
         };

any thoughts?

august

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list