Command for delete records A and PTR
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
> > 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 220.127.116.11.in-addr.arpa:
> > > update delete 18.104.22.168.in-addr.arpa. A
> That should have been PTR not A.
Men & Mice
DNS Software, Training and Consulting
The DNS and BIND Cookbook, coming October 2002!
More information about the bind-users