When using the NS1 platform or querying against our API you may find the need to change between record types while keeping the same name/configuration.
CNAME ➜ A
To convert a CNAME TO AN A record, simply create a new A record with the desired config and same domain name. Once you create an A record, we will start answering with that as soon as it propagates to our systems. Once the new A record is in place you can go ahead and delete the CNAME record.
A ➜ CNAME
To convert an A to a CNAME record, simply create a new CNAME record with the desired config and same domain name. After creation, You may delete the A record from the zone. Once the A record is deleted our name servers will begin responding with the CNAME record.
ALIAS ➜ CNAME, A
Our special type ALIAS records can also be converted to A or CNAME records as well. ALIAS records works like a CNAME but can be safely used at the Zone Apex because it always resolves to A (or AAAA) record(s). To convert a ALIAS record to an A or CNAME type, simply create a new CNAME/A record with the desired config and same domain name. Once the new CNAME/A record is in place you can go ahead and delete the ALIAS record.
Records of type A, CNAME and ALIAS should not coexist at the apex level. This configuration is not RFC compliant and will certainly produce unpredictable behavior by resolvers when querying against our name servers. Unless you are querying against us directly and indicating a specific type, responses may vary. If you do not indicate a record type we typically respond with the following procedure A > ALIAS > CNAME.
It is important to create the desired record type at least five minutes before deleting the previously existing one. If you or anyone queries the record before it is exists in our system we'll respond with an NXDOMAIN and cache that negative response for ~5 minutes as an anti-DDoS measure.