Records with the same name
Last updated Jul 20, 2026 Occasionally, Cloudflare will not allow you to create new DNS records with the same value in the Name field.
This error can occur due to the special requirements of CNAME records<sup>1</sup>.
Causes
You will encounter this error if you try to do one of the following:
- Create a CNAME record with a Name matching the name of an existing A/AAAA<sup>2</sup> or CNAME record.
- Create an A/AAAA record with a Name matching the name of an existing CNAME record.
- Create a Spectrum application for a name that already has a manually-created
A,AAAA, orCNAMErecord. Spectrum provisions and manages its own DNS record for the application, so Cloudflare does not support having both on the same name. Multiple Spectrum applications can, however, share the same name. Refer to Spectrum Troubleshooting for recommended workarounds.
Cloudflare prevents you from creating this combination of records because if a CNAME record is provided for a hostname DNS servers expect only that CNAME record to provide DNS information for that hostname.
Adding additional records would send conflicting information to DNS servers. For a technical explanation of the mechanism behind this, refer to RFC 1034 ↗︎.
Solution
Review your existing DNS records to find the matching value in the Name field. Then, decide whether you want to keep the current record or delete it and make a new one.
Note
CNAME records are the only IP resolution record with this type of limitation. You can have more than one A/AAAA record per hostname, which is a way some domains do simple load balancing for incoming requests.
Footnotes
- CNAME records ↗︎ map a domain name to another (canonical) domain name. They can be used to resolve other record types present on the target domain name. ↩
- A and AAAA records ↗︎ map a domain name to one or multiple IPv4 or IPv6 address(es). ↩
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name/#page","headline":"Records with the same name","description":"Handle multiple DNS records with the same name.","url":"https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name/og.png?v=84b95f70a31b0830","dateModified":"2026-07-20","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Fix stale DNS responses from upstream resolvers. title: Stale response for upstream DNS resolution image: https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/stale-response/og.png?v=f444505062721a20
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dns/llms.txt
Use this file to discover all available pages before exploring further.
Docs