How to delete nameserver with nsupdate command ?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Oct 23 23:05:33 UTC 2001


> In article <9r45rn$kef at pub3.rc.vix.com>,
> Chris De Keulenaer <chris.dekeulenaer at sbs.be> wrote:
> >Hi,
> >
> >Does anybody know how to remove a nameserver with the nsupdate command ?
> >
> >Currently I have 3 authoritative nameservers, but I want to remove one of th
> em.
> >The change should take effect dynamically in about 200 zones at once.
> >
> >I tried:
> >
> >nsupdate
> >>update delete ns.mydomain. NS
> >
> >... but this has no effect.
> 
> update delete domain1 NS ns.mydomain.
> update delete domain2 NS ns.mydomain.
> ....
> update delete domains200 NS ns.mydomain.
> 

	Don't forget the parent zones.

  zone domain1
  update delete domain1. NS ns.mydomain.
  send
  zone domain1parent
  update delete domain1. NS ns.mydomain.
  send



> -- 
> 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 grou
> p.
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list