Are you sure you want to close the chat?Chat will be closed and the chat history will be cleared.
continue to sign out,
or stay on chat.
To review this chat session please click this windows.
Chat Online
Chat Online0
Support

Forum

A place for Dynadot and community experts alike to ask questions, share ideas, and more.
API saving CNAME error
3/3/2014 07:53
I'm trying to use the advanced API to save a CNAME as the main record, but it errors out saying:

"When the Domain Record is set to CNAME, MX Records are not allowed."

My save command doesn't include any MX records, so I'm not sure exactly what's happening.  Here's an example of my commit:

https://api.dynadot.com/api3.xml?key=APIKEY&command=set_dns&domain=oalgame.com&main_record_type=cname&main_record=google.com
Reply Quote
3/9/2014 16:24
CNAME records are not compatible with many other DNS record types.  It is common practice to place them on the www subdomain instead, then forward the main domian there:

How do I create a CNAME?

A CNAME record is short-hand for Canonical Name record, which allows you to assign a domain or subdomain to another address or hostname. CNAME records should only be used if you can't use an A record.

NOTE: If you already have an A record within the Domain records section, please SKIP step 5!

To create a CNAME, please follow these steps:

  1. Sign in to your Dynadot account.
  2. Select "My Domains" from the left-side menu bar and click "Manage Domains" in the drop-down.
  3. Check the box next to the domain name(s) and select "DNS Settings" from the "Action" drop-down menu.
  4. On the new page, select the "Dynadot DNS" option from the drop-down menu.
  5. In the "Domain Record (optional)" section at the top, select "Forward" as the record type, choose forward type, and enter "https://www.yourdomainname.ext" as the "Target Host". (NOTE: This is optional and please replace the value based on your own domain name.)
  6. Under the "Subdomain Record (optional)" field, enter "www" as the subdomain, select "CNAME" as the record type and enter the CNAME record given to you.
  7. Scroll down to the bottom of the page and click on the "Save Settings" button to save your changes.

Please be aware that it might take some time for your changes to propagate.

A CNAME may be necessary for your domain to work with the following: Blogger, Blogspot, TypePad, iweb, MobileMe, zenfolio, ning.

Your settings should look similar to what is shown below:

From Help Section: Account & Domain Management > Domain Settings > How do I create a CNAME?
Reply Quote