Command for delete records A and PTR

Cricket Liu cricket at menandmice.com
Wed Oct 9 01:16:31 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.

It sounded (to me) like the poster was asking for a command to edit
zone data files and remove a host's forward and reverse mapping.
nsupdate doesn't do that--not directly, anyway.

> > $ nsupdate
> > > update delete www.foo.example. A
> > > send
> 
> 	'send' is not part of the 8.x syntax.  Use a blank line to send.

The BIND 9 version of nsupdate is much better than the BIND 8 version,
and (as you know) works fine with BIND 8 name servers.

> > 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.

Yup.

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/


More information about the bind-users mailing list