Can you delete NS records with nsupdate?

Barry Margolin barmar at genuity.net
Tue Jan 22 18:41:36 UTC 2002


In article <a2k87j$8q7 at pub3.rc.vix.com>,
Lists User  <lists at mail.tiggee.com> wrote:
>The problem I am having was that the NS record was a lame record.
>
>In the domain tester.com. I had a ns record for sub1.
>example:
>update add sub1.tester.com. 10800 NS ns1.anotherdomain.com.
>
>This added no problem.
>
>then when I tried:
>update delete sub1.tester.com. NS ns1.anotherdomain.com.
>or
>update delete sub1.tester.com. IN NS ns1.anotherdomain.com.
>
>
>It bombed and said:
>
>Reply from SOA query:
>;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id:  33475
>;; flags: qr rd ra ; QUESTION: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>;; QUESTION SECTION:
>;sub1.tester.com.       IN      SOA
>
>
>response to SOA query was unsuccessful
>
>
>
>I guess this is because it was a lame nameserver correct?

I suspect a bug in nsupdate.  It seems to be assuming that you're trying to
remove the NS record at the top of the sub1.tester.com domain, rather than
the delegation record in the tester.com domain.  So it's doing an SOA query
for sub1.tester.com rather than tester.com.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list