Discussion:
nsupdate to delete NS entry
BIJU KURIAN
2005-04-04 19:28:32 UTC
Permalink
How can i delete the following entry from test.com.db using nsupdate--

test.com. 3600 IN NS host1.test.com.




I usually manage test.com using nsupdate..

for eg: nsupdate..> update add host2.test.com 86400 A 10.1.1.1


-BMK
BIJU KURIAN
2005-04-04 19:51:46 UTC
Permalink
I got it...

update delete test.com IN NS 3600 host1.test.com ...

Thanks
Post by BIJU KURIAN
How can i delete the following entry from test.com.db using nsupdate--
test.com. 3600 IN NS host1.test.com.
I usually manage test.com using nsupdate..
for eg: nsupdate..> update add host2.test.com 86400 A 10.1.1.1
-BMK
Kevin Darcy
2005-04-04 21:49:22 UTC
Permalink
Post by BIJU KURIAN
I got it...
update delete test.com IN NS 3600 host1.test.com ...
Thanks
Post by BIJU KURIAN
How can i delete the following entry from test.com.db using nsupdate--
test.com. 3600 IN NS host1.test.com.
I usually manage test.com using nsupdate..
for eg: nsupdate..> update add host2.test.com 86400 A 10.1.1.1
What version of nsupdate are you using? That syntax doesn't work for me:

% nsupdate
Post by BIJU KURIAN
update delete test.com IN NS 3600 host1.test.com.
invalid rdata format: extra input text
Post by BIJU KURIAN
%
Normally to make changes to the NS records in the parent zone, you need
to give the "zone" directive to nsupdate, e.g.

% nsupdate
zone test.com.
update delete test.com. ns host1.test.com.
send
%

If you don't tell nsupdate to update the records in the parent zone,
then it'll identify the zone to be changed as the "closest enclosing
zone" of the name being updated, which would be the child zone, which
you don't want.


- Kevin

Loading...