Hi !
I do speak for my ubuntu dns, but i think isssue is closed to etch.

i heard that now rndc (remote domain name server control utility) uses 953
as standard port, instead of old 53.
so do a " netstat -an | grep -i 53 ", it should print both 53 (bind daemon)
and 953 listening.

by checking in your error message, reading statement  "or the key is
invalid", i assume you didn't setup rndc-keys

check /etc/bind/named.conf and /etc/bind/rndc.key, they must contain an
identical hash. (paths can differ)
you can take one hash as good, the first you find, or generate a new one by
a simple procedure.

i quote :" *rndc-confgen* generates configuration files for *rndc*. It can
be used as a convenient alternative to writing the *rndc.conf* file and the
corresponding *controls* and *key* statements in *named.conf* by hand.
Alternatively, it can be run with the *-a* option to set up a
*rndc.key*file and avoid the need for a
*rndc.conf* file and a *controls* statement altogether. "

first: adjust keys, then issue a :
rndc -p 953 -s localhost -k /etc/bind/rndc.key status
or
rndc -p 953 -s localhost -k /etc/bind/rndc.key stop
to check/stop running.
if it doesnt solve, try 53 port. (but i think is deprecated)

once you set it up the right way, also init.d script should run normally.

HTH and hope not to have missconfused.
Massimiliano Fantuzzi

On Mon, Jun 23, 2008 at 11:38 AM, Philip Kerkin <[EMAIL PROTECTED]> wrote:

> Hi
>
> I'm playing with bind attempting to set up a DNS server. Found a nice
> how- to that walks through step by step.
>
> Only problem is when I attempt to stop bind9, I get the following
> message:
>
> Stopping domain name service...: bindrndc: connection to remote host
> closed
> This may indicate that the remote server is using an older version of
> the command protocol, this host is not authorized to connect, or the key
> is invalid.
> failed!
>
> I'm setting this up on a vmware console running Etch purely for
> education purposes. In other words I have no idea what I am doing - just
> following instructions.
>
> Incidentally, the instructions I am following are at the following
> address:
> http://linux.justinhartman.com/DNS_installation_and_setup_using_BIND9
>
> Thanks in advance.
> -
> Regards
>
> Phil
>
> I Like to take on my problems one at a time,
> but, they refuse to line up
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>



-- 
Massimiliano Fantuzzi,
IT Professionist & System Builder
www.fantuz.net // [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to