bind newbie - NSUPDATE

Kevin Darcy kcd at daimlerchrysler.com
Thu Nov 16 02:43:44 UTC 2000


Anthony Ryan Mattke wrote:

> First off, I'm rather new to Bind, running named 8.2.2-P5.
>
> I'm curious about dynamic DNS and nsupdate.. I bought O'Reilly's DNS &
> Bind book and looked through the breif section on nsupdate.
>
> So I setup my zone in named.conf
>
> zone "iphere.com" {
>         type master;
>         file "db.iphere";
>         allow-update { 192.168.0.1; 127.0.0.1; };
> };
>
> and did an ndc reload...
>
> from what i saw in the book, it appeared that this would work.
>
> atoi:~# nsupdate
> > update add test.iphere.com. 333 in a 192.168.0.99
> >
> >
> atoi:~#
>
> in db.iphere thre is no CNAME or A entry for 'test'
> but when i try to resolve that name, it fails to find it.
>
> What am I missing here ?

Use the "-d" option. That will at least tell you (verbosely) whether you
sent the update to the server you expected to, and what the response code
was.


- Kevin





More information about the bind-users mailing list