Mass Update of DNS Records
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Thu Aug 28 21:10:48 UTC 2003
Jake <jake at dontmailme.coma> wrote:
> I need to change the IP address of about 200 DNS records and also increase
> the serial number by one for each. Is there a script out there to do this?
> Basically I need it done like this:
> 1) Look through all zone files for IP address X
> 2) If IP address X found, replace it with Y
> 3) Increment serial number for this record
Using 'vi' will take an hour and a half. It would take me more time
to find a scripting solution then to "just do it".
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
More information about the bind-users
mailing list