How to change all domain names' IP in one batch

C

Chris

I have installed a DNS server with 500 domain names. I need to change all
the domain names ( www.domain.com) to a new IP addresses. I don't want to
change it one by one. How can I do it in batch?

Please help.

Chris
 
H

Herb Martin

Chris said:
I have installed a DNS server with 500 domain names. I need to change all
the domain names ( www.domain.com) to a new IP addresses. I don't want to
change it one by one. How can I do it in batch?

Assuming there is a predictable relationship between
the two address ranges (e.g., x.y.z.5 -> j.k.l.5):

Probably simplest is to make it a regular Primary (if
not), make sure the file is saved, edit (search and
replace) or use a script replacement like a Perl
program to fix up the file and reload it.

You could also write a DNSCmd script to do it but
I know that would be harder for ME to do from
scratch (but then I do a LOT of Perl or VBS.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top