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  to go from to instead point to

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.  
LVL 27
Who is Participating?
Farhan KaziSystems EngineerCommented:
Greetings pseudocyber,

You can do this by using 'Dnscmd' command line utility comes with Windows 2000 support tools.
DNSCmd.exe <DNSServerIP/Name> /RecordAdd <ZoneName> <CNameToDelete> CNAME <FQDN>

Make a 2 batch files with following code schedule them with with Scheduled Tasks.

DNSCmd.exe /RecordAdd CNAME

DNSCmd.exe /RecordAdd CNAME

For more info visit:

To download Windows 2000 support tools visit:

Hope this helps
Farhan KaziSystems EngineerCommented:
Sorry typo mistake:
DNSCmd.exe <DNSServerIP/Name> /RecordAdd <ZoneName> <CNameToAdd/Change> CNAME <FQDN>
Farhan KaziSystems EngineerCommented:
Any update pseudocyber?
pseudocyberAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.