Re: adding DS record via nsupdate

2013-02-06 Thread Doug Barton
On 02/06/2013 12:59 AM, Phil Mayers wrote: On 02/06/2013 12:56 AM, Doug Barton wrote: I do the following as an example: nsupdate -d server zone test.net update add subzone.test.net IN DS 34845 7 1 325AA7B83FAC7DB621678EB2FB9035B51A0A504F I don't think this makes sense. Shouldn't you ha

RE: adding DS record via nsupdate

2013-02-06 Thread Jack Tavares
Of course. Thank you. -- Jack Tavares "How many more can we sell with this button?" From: Mark Andrews [ma...@isc.org] Sent: Tuesday, February 05, 2013 19:58 To: Andrew Latham Cc: Jack Tavares; bind-us...@isc.org Subject: Re: adding DS record vi

Re: adding DS record via nsupdate

2013-02-06 Thread Marc Lampo
Precisely ! That is why one of the sanity checks is if NS records exist at all. If not, no DS records will be added. And reversely : if all NS records are removed, any DS record will be removed as well. Just as Mark Andrews indicated. Kind regards, Marc Lampo On Wed, Feb 6, 2013 at 9:59 AM, P

Re: adding DS record via nsupdate

2013-02-06 Thread Phil Mayers
On 02/06/2013 12:56 AM, Doug Barton wrote: I do the following as an example: nsupdate -d server zone test.net update add subzone.test.net IN DS 34845 7 1 325AA7B83FAC7DB621678EB2FB9035B51A0A504F I don't think this makes sense. Shouldn't you have a proper zone for subzone.test.net? What

Re: adding DS record via nsupdate

2013-02-05 Thread Mark Andrews
The update code has sanity checks. You can only add DS records where delegating NS records exist. If you remove a delegating NS rrset any DS records there will also be removed. This check is done after all the records have been processed. Mark > server 127.0.0.1 > zone example > key key.dv.i

Re: adding DS record via nsupdate

2013-02-05 Thread Doug Barton
On 02/05/2013 03:30 PM, Jack Tavares wrote: Hello - I am trying to add a DS record via nsupdate and I can't get it to succeed. It does not generate an error, but when I dig for the DS record I get NXDOMAIN. What I edit the zone file and add the same DS record and reload, I can query it just f

Re: adding DS record via nsupdate

2013-02-05 Thread Andrew Latham
On Tue, Feb 5, 2013 at 6:30 PM, Jack Tavares wrote: > Hello - > > I am trying to add a DS record via nsupdate and I can't get it to succeed. > > It does not generate an error, but when I dig for the DS record I get > NXDOMAIN. > > What I edit the zone file and add the same DS record and reload,