Back to Cloudflare

Configure Records, Proxy Status, and DNSSEC

November 4, 2026 Updated November 6, 2026 Wasil Zafar 27 min read

Make DNS changes with a clear model of the orange cloud

Table of Contents

  1. A, AAAA, CNAME, MX, TXT, and Service Records
  2. Proxied and DNS-Only Are Different Traffic Paths
  3. DNSSEC Signs Answers Rather Than Encrypting Them
  4. Flattening, Wildcards, and Delegated Subdomains
  5. Build a Small Web and Mail Record Set
  6. Test Resolution and Deliberately Detect a DNSSEC Failure

A, AAAA, CNAME, MX, TXT, and Service Records

A two-person design studio has one domain, studio.example, and four jobs for it: serve a portfolio site, receive mail at hello@studio.example, prove ownership to a newsletter provider, and let a chat client find its server. Every one of those jobs is a DNS record, but they are not the same kind of record, and only some of them have a proxy switch.

Think of the zone as a catalogue of typed cards. The name is the question being asked (www.studio.example), the type is what kind of answer is expected, the content is the value, and the TTL is how long a resolver may keep the card before asking again.

The type is an instruction to the client, not a preference: an A record tells a client "connect to this IPv4 address", an MX record tells a mail server "deliver to this host, at this priority", and a TXT record tells whoever asked "here is a string that proves something". DNS answers questions; it never carries the traffic itself.

Proxying only applies to address resolution. That distinction explains the rule that trips people up first: there is no HTTP request inside an MX lookup for an edge proxy to stand in front of. Figure 1 shows the five answers a resolver can receive and where the proxy decision applies.

Only A, AAAA, and CNAME can be proxied

Cloudflare can only proxy records used for IP address resolution — A, AAAA, and CNAME. MX, TXT, SRV, CAA, and NS records are always DNS-only. A proxied mail host is not a stricter setup; it is a broken one, because SMTP on port 25 never reaches the edge.

A, AAAA, CNAME, MX, TXT, and Service Records
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','titleColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','activationBorderColor':'#132440','signalColor':'#5a6e82','signalTextColor':'#132440','noteBkgColor':'#c4873b','noteTextColor':'#132440','noteBorderColor':'#132440','labelBoxBkgColor':'#a8dede','labelBoxBorderColor':'#132440','labelTextColor':'#132440','loopTextColor':'#132440','altBackground':'#f8f9fa','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    Q["Resolver asks for a name"] --> T{"Which record type?"}
    T -->|"A or AAAA"| IP["IPv4 or IPv6 address of a host"]
    T -->|"CNAME"| CN["Another name, then restart the lookup"]
    T -->|"MX"| MX["Mail host plus priority value"]
    T -->|"TXT"| TX["Policy text or ownership proof"]
    T -->|"SRV"| SRV["Service target, port, priority, weight"]
    IP --> P{"Proxy status set?"}
    CN --> P
    P -->|"Proxied"| CF["Cloudflare anycast addresses"]
    P -->|"DNS only"| OR["Origin address"]
    CF --> EDGE["HTTP or HTTPS reaches the edge"]
    OR --> DIR["Client connects to the origin"]
    MX --> NOP["No proxy path exists"]
    TX --> NOP
    SRV --> NOP
    classDef primary fill:#132440,color:#ffffff,stroke:#0b172b;
    classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a;
    classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f;
    classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420;
    classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f;
    class TX,CF,OR,EDGE,DIR primary;
    class Q,T,IP,CN,MX,SRV,P,NOP secondary;

Read the studio's zone as a set of jobs, not a list of rows. Each job maps to one record type, and only the first two rows get the orange cloud:

JobRecordTypeProxy
Serve the portfolio over IPv4 and IPv6apex → originA + AAAAProxied
Keep www an alias of the apexwww → apexCNAMEProxied
Receive mailapex → mail host, priority 10MXDNS only
Reach the mail host on port 25mail → origin addressADNS only
Prove ownership and publish policyapex and _dmarcTXTDNS only
Let the chat client find its server_chat._tcp → host, port 443SRVDNS only

The apex carries A and AAAA at once, so IPv4 and IPv6 clients both connect, and www is a CNAME so a later address change happens in one place.

The mail host needs its own address record because a mail server must be reachable on port 25, not through an HTTP proxy. The chat entry is an SRV record because DNS otherwise has no way to say "this service lives on port 443 of that host". TXT records hold the SPF and DMARC policies plus the provider's ownership proof.

Two naming details cause most beginner errors. First, a CNAME cannot share a name with an A, AAAA, or another CNAME; Cloudflare rejects the combination because a client following a CNAME expects that record to be the only answer at that name. MX and TXT can coexist at the apex because they are different types answering different questions. Second, @ means the zone apex, not a wildcard. Figure 2 separates the records that resolve to an address from the records that carry data, because that boundary — not the dashboard layout — determines what the orange cloud can touch.

Authoritative zone: studio.example A / AAAA address records CNAME alias to another name MX mail host plus priority TXT SPF, DMARC, verification SRV service, port, weight Proxy status per record orange or grey Edge: anycast addresses TLS, cache, WAF, Workers TTL fixed at 300 s Origin address direct connection, your TLS origin IP is public Client consumes the value directly mail, policy, and service lookups proxied DNS only No proxy path: MX, TXT, and SRV are never orange-clouded

Proxied and DNS-Only Are Different Traffic Paths

Give the same zone two hostnames and one deliberate difference. The site hostname is an orange-clouded CNAME to the apex; the mail hostname is a grey-clouded A record. Ask a resolver for both and the answers diverge in a way that predicts everything downstream: the site returns Cloudflare anycast addresses, and mail returns the origin address.

That is the whole mechanism. Proxied means Cloudflare answers the address query with its own shared addresses, so the client's HTTP or HTTPS connection lands on the edge, where TLS terminates, cache and WAF rules apply, and a second connection carries the request to your origin with CF-Connecting-IP preserving the visitor's address. DNS only means Cloudflare answers with your address and steps out of the path; the client connects to your server directly, so your TLS certificate, your firewall, and your logs see the connection first.

The TTL difference is a useful tell. A proxied record uses Auto, fixed at 300 seconds, because Cloudflare needs to move anycast addresses quickly and because the edge is now the thing clients reach. A DNS-only record keeps whatever TTL you set, which is why a grey-clouded record can appear "stuck" for an hour after an edit while an orange-clouded one changes within five minutes — plus whatever your local resolver still holds.

ConcernDNS only (grey cloud)Proxied (orange cloud)
Address the resolver returnsYour origin addressCloudflare anycast addresses
Who terminates visitor TLSYour originThe edge, then a second connection to the origin
Effective TTLThe value you setAuto, fixed at 300 seconds
Origin address exposurePublic to anyone who queriesHidden from DNS, reachable by other means
Eligible record typesEvery supported typeA, AAAA, and CNAME used for web traffic
What can act before the originNothing at the edgeCache, WAF, rate limits, Workers, redirects
Typical failure symptomOrigin error, timeout, or exposed IP52x generated at the edge, or a dropped non-HTTP protocol
Good fitMail, verification, SSH, game servers, third-party SaaSWebsites and HTTP APIs you control

Figure 3 follows one lookup through each path and marks where each one breaks.

Proxied and DNS-Only Are Different Traffic Paths
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','activationBorderColor':'#132440','signalColor':'#5a6e82','signalTextColor':'#132440','noteBkgColor':'#c4873b','noteTextColor':'#132440','noteBorderColor':'#132440','labelBoxBkgColor':'#a8dede','labelBoxBorderColor':'#132440','labelTextColor':'#132440','loopTextColor':'#132440','altBackground':'#f8f9fa','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    C["Client resolves www.studio.example"] --> R{"Proxy status"}
    R -->|"Proxied"| A["Answer: Cloudflare anycast A and AAAA, TTL 300"]
    A --> T["TLS terminates at the nearest edge"]
    T --> H{"Protocol and port proxied?"}
    H -->|"HTTP or HTTPS on a proxy port"| OK["Cache, WAF, Worker, then origin fetch"]
    H -->|"SMTP 25, SSH, RDP, game UDP"| X["Connection dropped or refused at the edge"]
    R -->|"DNS only"| G["Answer: origin address, your TTL"]
    G --> D["Client connects directly to the origin"]
    OK --> O{"Origin healthy and trusted?"}
    O -->|"yes"| S["Response with cf-ray and cache status"]
    O -->|"no"| E["520, 521, 522, 524, or 526 from the edge"]
    D --> Z{"Origin healthy?"}
    Z -->|"no"| Y["Browser error, no cf-ray, origin log tells the story"]
    classDef primary fill:#132440,color:#ffffff,stroke:#0b172b;
    classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a;
    classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f;
    classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420;
    classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f;
    class A,T,OK,G,D primary;
    class C,R,H secondary;
    class O,S,Z ok;
    class X,E,Y danger;

Three boundaries keep this honest. First, proxying is HTTP and HTTPS only, on a fixed set of proxy ports; SMTP on 25 is not among them, and arbitrary TCP or UDP needs Spectrum. Second, a pending zone serves every record DNS-only until ownership verification completes, so a cutover that looks unproxied may simply be unverified. Third, "Cloudflare supports it" is not "your plan includes it": proxying itself is broadly available, but features layered on it — flattening every CNAME, longer proxy timeouts, advanced certificates — vary by plan, and the exact list moves. Check the current docs rather than a remembered feature matrix.

Moving a zone's nameservers moves authority. The DS record at the parent says which key the world should expect, and the parent's copy is what validators trust.

A stale DS takes down the whole zone

If the old provider's DS survives the move, validators compare it against Cloudflare's key, disagree, and return SERVFAIL for the whole zone. Cloudflare's onboarding checklist says to disable DNSSEC before changing nameservers unless you use the active-migration path — precisely because the parent's cached DS has its own TTL and does not care about your maintenance window.

DNSSEC Signs Answers Rather Than Encrypting Them

DNSSEC is an authenticity layer, not a privacy layer. It lets a validating resolver prove that an answer came from the zone that owns the name and was not altered in transit. It does not encrypt the query, it does not hide which names exist, and it cannot save you from a record you published yourself. The signature is attached to the answer set as an RRSIG; the public keys live in DNSKEY records; the parent publishes a DS record containing a hash of the zone's key signing key.

Walk the chain from the root down. A resolver trusts a root key configured in its software. The root signs the delegation to com, whose registry publishes a DS record for the studio; that DS hashes the studio's key signing key, and the KSK signs the zone signing key that actually signs ordinary records.

Two numbers tell the keys apart. A KSK carries DNSKEY flag 257; a ZSK carries 256. Cloudflare's preferred algorithm is 13, which registrars may label "ECDSA Curve P-256 with SHA-256". If any link disagrees — a stale DS, a missing RRSIG, a key the parent never heard of — validation fails.

Failure looks like absence, not like an error page. A validating resolver returns SERVFAIL and the client gets nothing usable; non-validating resolvers may still resolve the name, which is why reports during a DNSSEC incident are always "it works for me". The documented diagnostic is decisive: query normally, then repeat with checking disabled. The first returns SERVFAIL, the second returns the real addresses. That pair proves the records exist and the chain is what broke — a live example appears in the final section.

Key rollover is where the chain becomes an operational commitment. A ZSK rollover is invisible outside the zone: publish the new key, sign with it, retire the old one, and resolvers never need to know because the KSK they already trust vouches for it. A KSK rollover is different, because the parent's DS is a hash of that key. Either the DS changes in a coordinated window, or validation breaks.

Registrar support decides who owns that window. Cloudflare publishes CDS and CDNSKEY records automatically, and registrars that support RFC 8078 scan for them and update the DS without a human. Cloudflare Registrar does this by scanning, which the docs describe as taking one to two days with no way to control the exact publication time. At a registrar without that support, the DS change is manual, and the window is yours to schedule.

Rollback runs in the opposite order, and getting it backwards is a classic self-inflicted outage. Three moves, in this order:

DS first, signing second

Remove the DS record at the registrar first, keep zone signing enabled in Cloudflare until the parent's DS TTL has fully expired, and only then disable signing. Cloudflare's troubleshooting guidance suggests waiting at least 1.5 times the DS TTL before removing DNSKEY records, because a resolver holding the old DS will keep checking against a key you just deleted.

A leftover DNSKEY is not always a mistake. After DNSSEC is disabled, DNSKEY and RRSIG records can still appear. Cloudflare keeps signing in the disabled state, and security scanners will report "DNSKEY found but no DS record", which is expected rather than evidence of a mistake.

Flattening, Wildcards, and Delegated Subdomains

The apex is special because DNS requires SOA and NS records there, and a CNAME cannot coexist with other data at the same name. That is why the standard forbids example.com CNAME app.hosted.test. Cloudflare works around it with CNAME flattening: at query time it follows the CNAME chain itself and returns address records under the name that was asked for. The client asks for example.com A and receives an A answer — never a CNAME — so the protocol rule is respected without you rewriting the zone.

The answer shape depends on proxy status, and the difference matters when you debug. A proxied apex CNAME returns several Cloudflare addresses with TTL 300. A DNS-only flattened CNAME returns the target's address with the lower of the two TTLs — the CNAME's and the target record's. Flattening is on by default at the apex on all plans; extending it to every CNAME, or to a single CNAME, is a paid-plan option, and proxied CNAMEs are flattened regardless because they already return anycast addresses.

The tradeoff is that flattening hides the alias. A third-party service that verifies domain ownership by looking for a specific CNAME will not find one, because the response contains addresses instead. Some geo-steering setups can also behave differently, since the target's nameservers see the resolver doing the flattening rather than the visitor. And if the final target has no address records — a dangling CNAME — flattening returns an empty NODATA answer. There is no error and no CNAME to follow, so it looks exactly like a record that never propagated. Figure 4 contrasts the flattened apex with a delegated subdomain, where authority moves rather than the answer shape.

Apex CNAME, flattened before answering example.com CNAME app.hosted.test stored as a CNAME in the zone Cloudflare follows the chain now one lookup, or several if CNAMEs nest Answer to the client grey: example.com A 192.0.2.10, TTL 3600 orange: Cloudflare addresses, TTL 300 The client never receives the CNAME. Verification lookups that match on CNAME fail. A target with no A/AAAA gives empty NODATA. Delegation, where authority moves sub.example.com NS ns1.other.test the parent now refers, not answers ns1.other.test is authoritative for sub.example.com and everything below www.sub.example.com A 192.0.2.5 still stored in your zone, never served shadowed_by points at the NS record Saving this record returns no error. Glue is only for nameservers inside the zone. Wildcards do not apply across a delegation.

A wildcard is only a wildcard in the first label. *.example.com matches www.example.com and deeper names by default, while an asterisk in any other position is literal. An exact record always wins over the wildcard, and so does a delegation — if the subdomain has an NS record, the wildcard never reaches into it.

A wildcard record is not a certificate

All plans can create and proxy wildcard records, but a wildcard record does not create a matching certificate. Certificate coverage is a TLS decision, which is why a wildcard hostname can resolve perfectly and still fail the handshake.

Delegation is the quiet one: authority moves and existing records stop being served.

Delegation shadows records silently

Adding an NS record at a subdomain moves authority for everything at or below it, including records you already created there. Cloudflare keeps them, serves no error, and marks them as shadowed in API metadata; the zone is simply no longer authoritative for those names.

Glue is the exception that is still served. An A or AAAA record for a nameserver that lives inside the delegated zone must resolve, because the referral needs it to break the circular dependency. When a shallower delegation intercepts a deeper one's glue, the API reports dead_glue, which is either leftover configuration or a sign the shallower delegation was a mistake.

Build a Small Web and Mail Record Set

The record set, expressed as Terraform. Eight records, only three of them proxied, with the mail host deliberately left grey. The bash panel checks what resolvers actually return. Leave the chat target without an address record on purpose — that is the dangling case in step 6.

# ttl = 1 means automatic; a proxied record is fixed at 300 seconds.
terraform {
  required_providers {
    cloudflare = {
      source = "cloudflare/cloudflare"
    }
  }
}

variable "zone_id"     { type = string }
variable "origin_ipv4" { type = string }
variable "origin_ipv6" { type = string }
variable "mail_host"   { type = string }

# Apex: address records, proxied.
resource "cloudflare_dns_record" "apex_a" {
  zone_id = var.zone_id
  name    = "example.com"
  type    = "A"
  content = var.origin_ipv4
  ttl     = 1
  proxied = true
}

resource "cloudflare_dns_record" "apex_aaaa" {
  zone_id = var.zone_id
  name    = "example.com"
  type    = "AAAA"
  content = var.origin_ipv6
  ttl     = 1
  proxied = true
}

# www: an alias of the apex, proxied.
resource "cloudflare_dns_record" "www" {
  zone_id = var.zone_id
  name    = "www"
  type    = "CNAME"
  content = "example.com"
  ttl     = 1
  proxied = true
}

# mail: must be reachable on port 25, so DNS only.
resource "cloudflare_dns_record" "mail" {
  zone_id = var.zone_id
  name    = "mail"
  type    = "A"
  content = var.origin_ipv4
  ttl     = 1
  proxied = false
}

resource "cloudflare_dns_record" "mx" {
  zone_id  = var.zone_id
  name     = "example.com"
  type     = "MX"
  content  = var.mail_host
  priority = 10
  ttl      = 1
  proxied  = false
}

resource "cloudflare_dns_record" "spf" {
  zone_id = var.zone_id
  name    = "example.com"
  type    = "TXT"
  content = "v=spf1 mx -all"
  ttl     = 1
  proxied = false
}

resource "cloudflare_dns_record" "dmarc" {
  zone_id = var.zone_id
  name    = "_dmarc"
  type    = "TXT"
  content = "v=DMARC1; p=none; rua=mailto:dmarc@example.com"
  ttl     = 1
  proxied = false
}

# SRV carries structured fields in data{}, not one content string.
resource "cloudflare_dns_record" "chat" {
  zone_id  = var.zone_id
  name     = "_chat._tcp.example.com"
  type     = "SRV"
  ttl      = 1
  priority = 10
  data = {
    priority = 10
    weight   = 5
    port     = 443
    target   = "chat.example.com"
    proto    = "_tcp"
    name     = "example.com"
  }
}
# Apply the configuration, then read the answers a resolver sees.
# Auth comes from CLOUDFLARE_API_TOKEN in the environment.
terraform init && terraform apply

dig A www.example.com            # proxied: Cloudflare addresses, TTL 300
dig AAAA example.com             # proxied apex over IPv6
dig +short MX example.com        # 10 mail.example.com.
dig +short TXT example.com       # "v=spf1 mx -all"
dig +short TXT _dmarc.example.com
dig SRV _chat._tcp.example.com   # priority, weight, port, target
dig +short A mail.example.com    # DNS only: your origin address
Guided exercise

Build a Small Web and Mail Record Set

Execution status: design-only; not executed. The record set and observations below follow the cited documentation; no controlled zone was created for this article. The DNSSEC queries in the final section were run live against public names.

Prerequisites. A test domain you can move to Cloudflare, a Free-plan account, an origin you control with a known IPv4 and IPv6 address, a mailbox or mail host, and the dig and curl tools. No paid feature is required. If you have no origin, use a hostname that already resolves and keep the exercise read-only; do not point records at documentation ranges such as 203.0.113.0/24, which will not route.

Steps.

StepRunPassFail
1 · Address answersdig A www.example.com and dig AAAA example.comSeveral addresses that are not your origin, with TTL 300Your origin address: the record is grey-clouded, or the zone is still pending
2 · MXdig +short MX example.com10 mail.example.com. with no proxy involvementA Cloudflare address in the MX content, which is not a valid mail target
3 · TXTdig +short TXT example.com and dig +short TXT _dmarc.example.comThe quoted policy stringsThe value split across unexpected strings, usually from unbalanced quotes
4 · SRVdig SRV _chat._tcp.example.comPriority, weight, port, and target in that orderNXDOMAIN: the name was entered without the underscore labels
5 · Proxied mailFlip the mail record to proxied, wait 300 s, then repeat the A queryCloudflare addresses appear and nc -vz mail.example.com 25 no longer reaches the mail server — the failure you are meant to see; set it back to DNS onlyMail still answers on port 25, which means the record is still grey
6 · Dangling targetdig +short A chat.example.comAn empty answer with status NOERROR, not NXDOMAIN; that NODATA shape is what a flattened dangling CNAME looks like tooNXDOMAIN, or an address you did not expect
7 · DNSSECdig DS example.com and dig DNSKEY example.com +shortOne DS with algorithm 13 and digest type 2, plus a 256 and a 257 keyA DS present with no matching key: the stale-DS case

Expected observations. Proxied answers carry TTL 300 and Cloudflare addresses; the DNS-only mail record carries your TTL and your address; TXT values come back quoted; the SRV answer is ordered priority, weight, port, target. Proxied records do not expose the origin, so the A answer is not evidence that your origin is reachable.

Failure checks. A proxied record used for mail breaks delivery because SMTP never reaches port 25. If an MX target is the same hostname as your proxied website, Cloudflare rewrites the MX answer to a _dc-mx subdomain so mail bypasses the proxy — expect that name in the answer rather than assuming corruption. A CNAME that will not save usually collides with an existing A, AAAA, or CNAME at the same name. A record that resolves for you but not for a colleague is often a cached negative answer, not a broken zone.

Cost dimensions. Domain registration is typically USD 10–15 per year and registrar-dependent. The Free plan, DNS, and proxying are USD 0 for this record set. No add-on is needed; confirm current plan terms before relying on any paid feature.

Cleanup. Delete the test records, then disable DNSSEC in the correct order: remove the DS at the registrar first, wait for the DS TTL to expire, then disable signing. Remove the zone only after the registrar's nameservers point elsewhere. Leaving a proxied record aimed at a decommissioned origin is how a dangling target becomes someone else's opportunity.

Test Resolution and Deliberately Detect a DNSSEC Failure

Two artifacts settle most arguments: the authoritative answer and the validator's verdict. Query the record type you expect, then query the same name through a validating resolver, then repeat with checking disabled. If the first two disagree, DNS is fine and DNSSEC is not.

Pass evidence for a zone you control. A proxied address answer returns Cloudflare addresses with TTL 300; a grey one returns your origin address with the TTL you set. An MX answer is a hostname plus priority, never an address, and TXT answers come back quoted. A DS answer carries a key tag that matches the 257 DNSKEY, and +dnssec shows the ad flag in the header when the resolver validated the answer, with the RRSIG line present when you ask for it.

Fail evidence is a shape, not an error message. A SERVFAIL that becomes a normal answer under +cd is DNSSEC, full stop. A DS whose key tag has no matching DNSKEY is a stale or wrong DS. A proxied record returning the origin address means the record is grey or the zone is pending. An MX answer containing a Cloudflare address means someone proxied the mail host. A CNAME that returns NOERROR with no answer is dangling, not propagating. A record that saves without error but never resolves is often shadowed by a delegation above it.

Recorded live on 2026-11-04 with DiG 9.10.6 on macOS, against Cloudflare's public resolvers. Key material is summarized where it is long; answers are otherwise as returned.

# Signed zone: the DS names the key, and the DNSKEY set contains it.
dig +short DS cloudflare.com @1.1.1.1
# 2371 13 2 32996839A6D808AFE3EB4A795A0E6A7A39A76FC52FF228B22B76F6D6 3826F2B9

dig +short DNSKEY cloudflare.com @1.1.1.1
# one 256 key and one 257 key, both algorithm 13, matching the DS above

dig www.cloudflare.com A @1.1.1.1
# NOERROR, flags qr rd ra ad, two 104.16.x.x answers

dig www.cloudflare.com A @1.1.1.1 +dnssec +short
# the same addresses, plus an RRSIG with a 300-second TTL

# Deliberately broken chain: the validating resolver refuses the answer.
dig A brokendnssec.net @1.0.0.1
# SERVFAIL, no answer, EDE: no SEP matching the DS found for brokendnssec.net

dig A brokendnssec.net @1.0.0.1 +dnssec +cd +short
# 104.18.27.110
# 104.18.26.110

That last pair of queries is the exercise's target outcome: the records exist and are served, the parent's DS and the zone's key do not match, and validation is what removed the answer. It is also the reason a DNSSEC incident is reported as "the site is down" while the authoritative server looks perfectly healthy.

Self-check. Does DNSSEC encrypt the query? No; it authenticates the answer. Confidentiality needs DoH or DoT, which are transport choices, not DNSSEC. Why does a ZSK rollover not require a registrar change? The DS hashes the KSK, and the KSK signs the new ZSK, so the chain above the zone is unchanged. A grey-clouded apex CNAME returns NODATA. What is wrong? The final target has no A or AAAA records, so there is nothing to flatten to; fix the target, do not re-add the record. A record under a delegated subdomain will not resolve. Where do you look? At the delegated nameservers, not the parent zone — the parent stopped being authoritative the moment the NS record was saved.

Unresolved limitations. No zone was built for this article, so the record-set steps are design-only and no propagation, mail delivery, or certificate issuance was measured. The live checks cover public names only: one signed zone and one deliberately broken one, on a single day, from one network. DNSSEC behavior at a specific registrar depends on RFC 8078 support, and the one-to-two-day CDS/CDNSKEY timing is Cloudflare's documented figure for Cloudflare Registrar, not a measurement. Plan entitlements, proxy port lists, and limits change; the Free-plan and pricing statements reflect the cited pages on the verification date and should be re-checked before purchase.

References (verified 2026-11-04; page-level "last updated" dates range from April to October 2026):

  • Cloudflare DNS: https://developers.cloudflare.com/dns/
  • Proxy status: https://developers.cloudflare.com/dns/proxy-status/
  • Proxy use cases, including mail and non-HTTP: https://developers.cloudflare.com/dns/proxy-status/use-cases/
  • Proxying limitations and non-proxiable targets: https://developers.cloudflare.com/dns/proxy-status/limitations/
  • DNS record types: https://developers.cloudflare.com/dns/manage-dns-records/reference/dns-record-types/
  • Wildcard DNS records: https://developers.cloudflare.com/dns/manage-dns-records/reference/wildcard-dns-records/
  • Shadowed records and delegation metadata: https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records/
  • CNAME flattening: https://developers.cloudflare.com/dns/cname-flattening/
  • CNAME flattening answer shapes: https://developers.cloudflare.com/dns/cname-flattening/cname-flattening-diagram/
  • CNAME flattening setup and plan scope: https://developers.cloudflare.com/dns/cname-flattening/set-up-cname-flattening/
  • DNSSEC overview and rollback order: https://developers.cloudflare.com/dns/dnssec/
  • Chain of trust, DS, and CDS/CDNSKEY: https://developers.cloudflare.com/dns/dnssec/validation-and-key-management/
  • DNSSEC troubleshooting with dig and DNSViz: https://developers.cloudflare.com/dns/dnssec/troubleshooting/
  • Extended DNS error codes: https://developers.cloudflare.com/1.1.1.1/infrastructure/extended-dns-error-codes/
  • Stale DS records blocking zone activation: https://developers.cloudflare.com/dns/zone-setups/troubleshooting/pending-nameservers/
  • Root key rollover sentinel support: https://developers.cloudflare.com/changelog/post/2026-09-24-root-key-trust-anchor-sentinel/
  • RFC 8078, CDS/CDNSKEY: https://www.rfc-editor.org/rfc/rfc8078.html
  • RFC 4592, wildcard semantics: https://www.rfc-editor.org/rfc/rfc4592.html

Next in the Series

In Public Resolvers, Encrypted DNS, and Private Names, we'll explore Separate 1.1.1.1 from authoritative and organizational DNS.