• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2043
  • Last Modified:

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?


Alex Green
Alex Green
1 Solution
Zephyr ICTCloud 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
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now