Re: Deleting All Zone RR's

This is a discussion on Re: Deleting All Zone RR's within the Bind Users forums, part of the DNS and Related Forums category; > How does one delete ALL resource records form a zone? write them in a file with dig your.zone....


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-07-2004
Tom Schmitt
 
Posts: n/a
Default Re: Deleting All Zone RR's


> 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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0