Re: named.conf question (controls statement being ignored)

2004-01-13 Thread August Simonelli
Thanks Nick ...

I'm feeling a little silly now ... I was starting the wrong version of 
BIND ... need to be a little more careful with my rtfm'ing!

august

On 13/01/2004, at 8:08 PM, Nick Twaddell wrote:

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: named.conf question (controls statement being ignored)

2004-01-13 Thread Nick Twaddell
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"