DNS - Can't set A records

*we need to know your netlify site name. Example: gifted-antelope-58b104.netlify.app

*DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.

I’ve pointed my nameservers to Netlify, which essentially means that Netlify is the host of my website, and the original host can’t create or delete DNS records.

I want to add an A record, which takes a single subdomain of the website and redirects it, but I receive the following error:

dns_api ocelot.lol - ocelot.lol/A: 400 - Cannot create new A or AAAA record while NETLIFY or NETLIFYv6 records exist. Delete the blocking records to proceed.

I can’t delete the existing records because they all point to my other, Netlify-hosted subdomains. Is it possible to redirect the one single subdomain to a different IP address?

Hey @HypnoticOcelot

It would appear from the error message that you have tried to create an A record for a domain (or subdomain) that already has a NETLIFY (and NETLIFYv6) record associated with it, which would mean it is configured as a custom domain on a Netlify hosted site. Naturally, if a domain is pointing to one site, you cannot then create another record to have it point to another (regardless where that site is; Netlify or other.)

If this is the case, you will need to either remove the domain from the the custom domains list of the Netlify site it is currently attached to, or choose another domain to point to the external service.

Yes, it is certainly possible to point a subdomain e.g. blog.example.com to another host when example.com is using Netlify DNS, as long as the record is not in conflict with another record.

Well, why is it in conflict? play.ocelot.lol isn’t being used for anything else.

I see an A record for play.ocelot.lol

% dig play.ocelot.lol
play.ocelot.lol.	3600	IN	A

I figured it out, apparently there were existing records for the subdomain. Thanks!