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?


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 dnsnameclient CNAME

Add a record:

dnscmd dns-server-name /recordadd CNAME

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

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

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**********.de.

that worked fine :D

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