Creating CNAME with DNSCMD

Really simple,

I need to create a CNAME within DNSCMD.

It's got to delete the old record and then create the new record. Any idea how or does someone have a decent guide?

Thanks

Alex
LVL 15
Alex Green3rd Line Server SupportAsked:
Who is Participating?
 
Zephyr ICTConnect With a Mentor Cloud ArchitectCommented:
Delete a record:

dnscmd dns-server-name /recorddelete yourdns.com dnsnameclient CNAME

Add a record:

dnscmd dns-server-name /recordadd yourdns.com CNAME cnameclient.yourdns.com

dns-server-name= your dns server name
yourdns.com = your root dns server Zone Name and Node Name
dnsnameclient = name of the record you want to delete
cnameclient.yourdns.com = FQDN CNAME of new record

That should be it I think ... Been a while ...

Guides: http://technet.microsoft.com/en-us/library/cc772069.aspx
0
 
Alex Green3rd Line Server SupportAuthor Commented:
Hi mate

Just figured it out

dnscmd GB1*****4 /recorddelete ad.*****.de ICA
dnscmd GB1*****4 /recordadd ad.*****.de ICAtest CNAME GB1*****30.ad.*****.de.

that worked fine :D

Thanks though
0
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.