pseudocyber
asked on
How to script & automate simple Windows DNS change?
I have to make a DNS change at a certain time - say 9:00 PM tonight ;). It's simply changing a cname to point to a different FQDN.
So, lets say I want to change myweb.company.com to go from webserver1.company.com to instead point to webserver2.company.com.
I know nothing about scripting, but shirley ( ;)) this is simple to do and automate? How to do it please, in simple network engineer (not Windows engineer) terms ... ;)
DNS server is Windows 2003 server. Normally I use MMC to do IP Address Management.
So, lets say I want to change myweb.company.com to go from webserver1.company.com to instead point to webserver2.company.com.
I know nothing about scripting, but shirley ( ;)) this is simple to do and automate? How to do it please, in simple network engineer (not Windows engineer) terms ... ;)
DNS server is Windows 2003 server. Normally I use MMC to do IP Address Management.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Any update pseudocyber?
ASKER
Thanks.
Syntax:
DNSCmd.exe <DNSServerIP/Name> /RecordAdd <ZoneName> <CNameToAdd/Change> CNAME <FQDN>