Deleting All Zone RR's

Tom Schmitt TomSchmitt at gmx.de
Tue Sep 7 15:30:28 UTC 2004


> How does one delete ALL resource records form a zone?

write them in a file with
dig your.zone.com > tmpfile

edit it with 
vi tmpfile
(deleting those line you dont want to erase in the DNS-Server) and make
:%s/^/update delete /
(for inserting update delete in each line)
and then

nsupdate tmpfile

Now your zone should be empty.


-- 
NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail



More information about the bind-users mailing list