Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 01:08:35 -0800
From:      "Nick Twaddell" <nick@webspacesolutions.com>
To:        "'August Simonelli'" <deviledog@swiftdsl.com.au>, <freebsd-questions@freebsd.org>
Subject:   RE: named.conf question (controls statement being ignored)
Message-ID:  <20040113090806.0219D43D1F@mx1.FreeBSD.org>
In-Reply-To: <0CF73F22-45A7-11D8-A62D-000A95A55144@swiftdsl.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
[mailto:owner-freebsd-questions@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040113090806.0219D43D1F>