[SLUG] Dynamic update in BIND 9

Gareth Walters garethw at syd.microforte.com.au
Wed Oct 3 10:36:27 EST 2001


----- Original Message -----
From: "Howard Lowndes" <lannet at lannet.com.au>
To: "Mail List - SLUG" <slug at slug.org.au>; "Mail List - CLUG"
<linux at samba.org>
Sent: Tuesday, October 02, 2001 10:00 AM
Subject: [SLUG] Dynamic update in BIND 9


> I am trying to get dynamic updating working in BIND 9.1.x
> I have the master DNS set up with the "key" statement OK and the
> "allow-update" statement and I have restarted the DNS.

Its a good idea to disable the keys while you are setting it up and then
enable them once you know its working without them

> I notice in the BIND docs that it also mentions a "server" statement which
> assumes that the IP for both ends is known, but this is not the case for
> me as one end is dynamic IP.

Yeah I had a similar problem on my LAN's DNS when using nsupdate
I have to put in a "server"statement for it to work, even if nsupdate is
being run on the same machine as bind.(I am not sure how this will translate
to you situation though)

So if you are updating the records on a machine called master

sh>nsupdate
>server master
>
>
>
>first command
>EOF

Also nsupdate has a few behavioural oddities, make sure you put in a
few new lines after the server statement.

If you are getting input from a file, the file needs to have those newlines
and for some reason I have only got it to work from a file input if the
current working directory contains the key.






---Gareth Walters





More information about the linux mailing list