Wednesday, February 4, 2009

remove cname (alias) from command line

To delete alias from command prompt using dnscmd, do the following.


1. Assume the dns server name in which the alias exists is "dnsserver", DNS zone name is "myrootdns.com" and alias name is "myalias".
2. Run the following command

dnscmd.exe /RecordDelete myrootdns.com myalias CNAME

1 comments:

Unknown said...

This is wrong, it returns an invalid parameter

Design by infinityskins.blogspot