Command for delete records A and PTR

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Oct 8 23:54:01 UTC 2002


> 
> > I'need to clean from db.forward and db.reverse (into BIND 8.2.3.) more old
> records
> > that was assigned from some DHCP-server that are down.
> > I need to know if possible to delete a specified record both db.forward
> and
> > db.reverse by a unknow command for BIND 8.2.3 ad later.
> > Can you help me ?
> 
> There's no command to do specifically this in BIND, but you could
> do it with nsupdate, for example.  Say you wanted to delete A records
> for www.foo.example:

	The above does not make sence.  'nsupdate' is part of BIND.
> 
> $ nsupdate
> > update delete www.foo.example. A
> > send

	'send' is not part of the 8.x syntax.  Use a blank line to send.
 
> And then you wanted to delete PTR records for 1.0.168.192.in-addr.arpa:
> 
> > update delete 1.0.168.192.in-addr.arpa. A

	That should have been PTR not A.

	Mark

> > send
> 
> This assumes, of course, that your name servers permit you to
> update the foo.example and 0.168.192.in-addr.arpa zones from
> wherever you run nsupdate.
> 
> cricket
> 
> Men & Mice
> DNS Software, Training and Consulting
> www.menandmice.com
> 
> The DNS and BIND Cookbook, coming October 2002!
> http://www.oreilly.com/catalog/dnsbindckbk/
> 
> 
--
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