When using the NS1 platform or querying against our API, you may need to change between record types while keeping the same name and configuration.
To convert a CNAME to an A record, simply create a new A record with the desired config and the same domain name. Once you create an A record, NS1 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.
To convert an A to a CNAME record, simply create a new CNAME record with the desired config and the same domain name. After creation, you may delete the A record from the zone. Once the A record is deleted, NS1's name servers will begin responding with the CNAME record.
Our special type ALIAS records can also be converted to A or CNAME records as well. ALIAS records work like a CNAME but can be safely used at the zone apex because it always resolves to A (or AAAA) record(s). To convert an 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, delete the ALIAS record.
Type A, CNAME, and ALIAS records should not coexist at the apex level. This configuration is not RFC-compliant and is guaranteed to produce unpredictable behavior by resolvers when querying against NS1 name servers. Unless you are querying against NS1 directly and indicating a specific type, responses may vary. If you do not indicate a record type, NS1 typically responds with the following procedure: A > ALIAS > CNAME.
After creating the new record type, you must wait at least five minutes before deleting the old one. If anyone queries the record before it exists in the NS1 platform, they will receive an NXDOMAIN response that will be cached for approximately five minutes as an anti-DDoS measure.