yxrrset always comes back NOTZONE

Chris Thompson cet1 at hermes.cam.ac.uk
Fri Aug 17 13:48:52 UTC 2007


On Aug 17 2007, Kevin Darcy wrote:

[de-top-posted]
                                      
>Chris Cox wrote:
>> I have an A record:
>> # host ccoxprep3
>> ccoxprep3.labs has address 10.30.81.5
>>
>> Using nsupdate I want to do a prereq check for the A record
>> and add a ptr record... so...
>>
>> prereq yxrrset ccoxprep3.labs. IN A
>> zone 20.10.in-addr.arpa.
>> update delete 5.81.30.10.in-addr.arpa PTR
>> update add  5.81.30.10.in-addr.arpa 86400 PTR ccoxprep3.labs.
>> send
>>
>> But it keeps failing on the prereq yxrrset line with:
>>
>> update failed: NOTZONE
>>
>> I must be missing something obvious, anyone?
>
>You're setting the zone to 20.10.in-addr.arpa, which doesn't and can't 
>contain the 5.81.30.10.in-addr.arpa record.

And if that was just a typo, even less does it contain ccoxprep3.labs!

All the prereqs and updates in one DNS update transaction (i.e. "send"
in nsupdate) must refer to RRs within a single zone.                                                          

-- 
Chris Thompson
Email: cet1 at cam.ac.uk



More information about the bind-users mailing list