
On Fri, Jul 8, 2011 at 18:50, Nd'wex Common <flexycat@gmail.com> wrote:
Hi,
Im migrating domain zones under windows 2000 server to another server they are like hundreds of them, is there a script that can be used to change the following details 1. TTL 2. A record
Use a BATCH search & replace all in Windows. I don't know how to do that too. If the zone files are stored somewhere as ASCII text files, then you can copy that folder's contents into a Unix box and use a simple command like: cd /dirname find . -type f | xargs sed -i.BAK 's/a.b.c.d/w.x.y.z/g' a.b.c.d = old A record w.x.y.z = new A record You can use same command to replace the TTL too. Once you verify that the substitutions are done correctly, just delete all the .BAK files, then upload the files back onto the Windows server. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.