nsupdate'ing root domain

Kevin Darcy kcd at chrysler.com
Fri May 16 19:23:21 UTC 2008


Raghavendra Guru wrote:
> Hello,
>   I am having a problem with nsupdate , or rather dont know the exact 
> symantics to use for doing the nsupdate. Can somebody point me in the correct 
> direction please ?
>
> I have a zone like
>   example.com within that further domains like
>       www.example.com
>       ftp.example.com
>       sftp.example.com  etc.
>
>
> So When i generate a hmac key and associate it with the "example.com" zone
> i can successfully do the updates for
>        www.example.com
>       ftp.example.com
>       sftp.example.com  etc.
>
>
> But i'm unable to do the update for the root record, in this case
>     example.ccom
>
> that is denoted in the zone file like
>
> @   IN  A  201.201.202.222
>
>
> If i try to do an nsupdate on for just "example.com"  I get the message
> NOT AUTH from the server.
>
> Can anyone please help on whats the syntax to use when doing nsupdate
> to the root domain of a zone.
>
>   
"Root domain" is confusing; I usually use the term "apex".

I've never had a problem nsupdate'ing the apex of the zone. Just spell 
the zone name out and make sure to terminate it with a dot:

"update add example.com. 86400 a 1.2.3.4"

              or

"update add example.com. 86400 mx 10 smtp.example.com."

                                                                         
            - Kevin



More information about the bind-users mailing list