Cloudflare Shadowed records: A Guide for Website Owners
Learn how Cloudflare shadowed records affect delegated subdomains, where to manage their DNS, and how to check glue and dead-glue records safely.
Facts that can change should include a source and check date. Benchmark claims should state the plan, region, method, and test period.
If a Cloudflare DNS record appears in your zone but changes to a website or subdomain have no effect, check whether an NS record delegates that subdomain. Cloudflare calls records stored at or below such a delegation shadowed records. They remain visible in the parent zone, but the delegated nameservers answer requests, so edits made in the parent zone may not control the hostname.
What shadowed records mean#
DNS records connect a domain to resources such as websites and email services. Adding an NS record delegates a subdomain—and everything beneath it—to another set of nameservers. For example, a delegation for sub.example.com also covers names beneath that subdomain.
A record becomes shadowed in either of these situations:
- A subdomain is delegated after records already exist beneath it.
- A new record is added beneath a subdomain that was already delegated.
Cloudflare notes that these changes do not necessarily produce an error. A record can therefore look active in the zone while another nameserver set controls the same part of the domain.
How to check a record that is not behaving as expected#
- Identify the exact hostname affected, including its subdomain levels.
- Check whether an
NSrecord delegates that hostname or one of its parent subdomains. - If the name is delegated, manage its records at the delegated nameservers. Editing the corresponding record in the parent Cloudflare zone may not change DNS responses.
- In Cloudflare, review dashboard warnings and API metadata such as
shadowed_byandshadowed_records_count. These are Cloudflare-specific indicators of the documented condition. - If no relevant delegation is present, shadowing has not been established as the cause and other DNS checks are needed.
Take care with glue records#
A record can be shadowed and still help resolvers reach delegated nameservers. Cloudflare may mark an A or AAAA record with is_glue for this purpose. Do not assume that a shadowed glue-related record is safe to remove solely because it does not answer for the delegated name.
If Cloudflare marks a record as dead_glue, first verify that the relevant delegated nameserver already contains the correct records. Remove the parent-zone record only after that check confirms the delegation can still be reached and answered correctly.
The dashboard warnings, API fields, and glue-record handling described here are documented Cloudflare behavior. Other DNS providers may use different labels, interfaces, or procedures.
Sources
- Cloudflare: Shadowed records Checked 2026-10-30
- Cloudflare DNS documentation Checked 2026-10-30