Back to Cloudflare

Public Resolvers, Encrypted DNS, and Private Names

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

Separate 1.1.1.1 from authoritative and organizational DNS

Table of Contents

  1. What the 1.1.1.1 Resolver Does
  2. DoH and DoT Change the Resolver Connection
  3. Internal DNS and Split-Resolution Requirements
  4. Resolver Choice, Visibility, and Filtering
  5. Compare Answers From Two Controlled Resolver Paths
  6. Explain Any Difference Without Blaming Propagation

What the 1.1.1.1 Resolver Does

At 09:10 on a Tuesday, a designer opens https://wiki.corp.example from a café and gets a browser error. Twenty minutes later, on the office network, the same URL loads. Both laptops were told to "use DNS"; neither user changed anything. The difference is not the website. It is which resolver each laptop asked, and whether that resolver had a path to a private authority.

Think of three different phone books. 1.1.1.1 is directory assistance: it will call around on your behalf and read you a number. The authoritative nameserver is the organization that publishes its own listing. Internal DNS is the office extension list, printed for staff only. Directory assistance can find a published listing; it cannot invent an extension that was never published.

The terms that make the rest readable:

  • A stub resolver is the small client in the operating system. It asks one question and waits.
  • A recursive resolver does the walking, caches answers, and returns a final result. 1.1.1.1 is Cloudflare's public recursive resolver.
  • An authoritative nameserver holds a zone and answers from that data. It sets the AA flag; a cache does not.
  • A cache is a temporary copy with a TTL, the number of seconds it may be reused.

1.1.1.1 is a resolver, not a hosting service. It is free on all plans, but it is not Cloudflare DNS, the authoritative product that hosts zones. Ask it for a public name and it checks its cache. On a miss it walks the delegation tree, caches the answer for its TTL, and returns a copy. The reply carries ra (recursion available) but never aa (authoritative answer), because the resolver does not own the zone.

A private name has no public delegation. Ask the same resolver for wiki.corp.example and it returns NXDOMAIN.

The .example TLD is reserved by RFC 2606 and is not delegated from the root, so there is no public authoritative server to reach. That is not a propagation delay and not a bug; the name was never in the public tree.

Figure 1 shows the two outcomes sharing one resolver: a public name walks the delegation tree, while a private name stops at the root because no delegation exists.

What the 1.1.1.1 Resolver Does
%%{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
    D["Device asks for a name"] --> S["Stub resolver in the OS"]
    S -->|"1 query, recursion desired"| R["1.1.1.1 recursive resolver"]
    R --> C{"Answer in cache?"}
    C -->|"yes"| A["Return answer from cache, TTL remaining"]
    C -->|"no"| P{"Delegated from the root?"}
    P -->|"yes: www.example.com"| T["Walk root, TLD, then authoritative NS"]
    T --> AU["Authoritative answer, AA=1"]
    AU -->|"cache the RRset"| A
    P -->|"no: wiki.corp.example"| N["NXDOMAIN from the public tree"]
    N --> A
    A --> S
    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 P,T primary;
    class D,S,R,C,A,AU secondary;
    class N danger;

The boundary is product, not brand. Cloudflare operates four things that are easy to blur together:

  • 1.1.1.1 is a public recursive resolver. It stores no customer zone data and serves anyone.
  • Cloudflare DNS is authoritative hosting for public zones, available on all plans.
  • Cloudflare Gateway is the organizational resolver layer: DNS locations, policies, filtering, and logs.
  • Cloudflare Internal DNS is authoritative hosting for private zones, Enterprise-only and reachable only through the Gateway resolver.

The first is public and accountless; the other three can sit in one Cloudflare account and still be separate data planes. Adding a record to a public Cloudflare zone does not tell 1.1.1.1 to answer differently, and switching a laptop to 1.1.1.1 does not publish anything. Figure 2 draws the layers and the missing path.

Who can answer which name The stub resolver asks 1.1.1.1 for public names, which walks the public delegation tree. Private names go through Cloudflare Gateway and a resolver policy to an Internal DNS view. 1.1.1.1 has no path to the internal zone and returns NXDOMAIN. Device Stub resolver asks one question trusts the reply no zone data 1.1.1.1 public recursive resolver cache, no customer zone RA=1, never AA=1 no internal view Cloudflare Gateway resolver policy + DNS view filtering and activity logs default resolution via 1.1.1.1 Internal DNS needs Enterprise Public authoritative zone Cloudflare DNS, all plans holds the zone and its TTLs answers with AA=1 reachable by any resolver Internal DNS zone Cloudflare Internal DNS no public nameservers queryable only via Gateway UDP 53 / DoH / DoT policy path iterate view selected no path

The practical lesson is to stop treating "DNS" as one service. Ask three questions instead: who resolves the name, who is authoritative for it, and who is allowed to see or change the answer? The rest of this article takes those questions in order.

DoH and DoT Change the Resolver Connection

Classic DNS is usually sent over UDP port 53 in plaintext. Anyone on the path — a café network, a hotel router, an ISP — can read the query name, and can forge a response unless the client validates DNSSEC. DNS over HTTPS (DoH) wraps the DNS message in an HTTPS request on port 443. DNS over TLS (DoT) wraps it in a TLS connection on port 853. Both authenticate the resolver with a certificate and encrypt the client-to-resolver leg.

The limits matter as much as the protection. Neither protocol encrypts the resolver-to-authoritative hop, which is normally plaintext DNS. Neither hides the query name from the resolver operator. Cloudflare's own ODoH documentation puts it plainly: with standard DoH, "the resolver still sees both your IP address and the domain you are looking up." ODoH adds a proxy and a target so no single party sees both, at the cost of more moving parts; 1.1.1.1 supports ODoH at odoh.cloudflare-dns.com.

A worked comparison makes the tradeoffs concrete. The same public query, sent three ways:

# Plain UDP: port 53, query name in clear text
dig @1.1.1.1 www.cloudflare.com A

# DoT (BIND 9.18+): TLS on port 853, hostname visible, query name encrypted
dig +tls @one.one.one.one www.cloudflare.com A

# DoH: HTTPS on port 443, JSON answer
curl -s -H 'accept: application/dns-json' \
  'https://cloudflare-dns.com/dns-query?name=www.cloudflare.com&type=A'

The network sees the destination in every case; only the plaintext query exposes the name. A Gateway DoH endpoint adds the organizational layer: Gateway sees the name and the location or user identity, applies policy, and writes an activity log.

The table separates the operational criteria. The row that usually decides the design is not the encryption algorithm; it is who owns policy and logs.

CriterionDoH to a public resolverDoT to a public resolverOrganizational DoH/DoT (Gateway)
TransportHTTPS on port 443, HTTP/2 or HTTP/3TLS on port 853, RFC 7858HTTPS 443 or TLS 853 to a location-specific hostname
On-path observer seesTLS to cloudflare-dns.com; not the query nameTLS to one.one.one.one:853; not the query nameTLS to the Gateway DoH/DoT hostname
Resolver seesQuery name and source IPQuery name and source IPQuery name plus location or user identity
Policy and filteringNone on 1.1.1.1None on 1.1.1.1Allow, block, override, SafeSearch, and category policy
Location or identity matchingNot applicableNot applicableUnique DoH/DoT hostname, source IPv4, or destination IPv6
Typical client supportBrowsers and operating systemsRouters, operating systems, and DNS clientsManaged devices, browsers, routers, or the One Client
Network blocking behaviorHard to distinguish from other HTTPSEasy to block by port 853Depends on endpoint; a bypass may fail closed
Customer-visible query logNo per-customer query console documentedNo per-customer query console documentedGateway activity logs and analytics
Plan boundaryFree, all plansFree, all plansGateway plan; resolver policies and Internal DNS are Enterprise-only

The last column is the one people miss. DoH to cloudflare-dns.com and DoH to your Gateway endpoint are the same protocol with different operators. The first encrypts the path to a public resolver that applies no organizational policy. The second encrypts the path to a resolver that does. A browser configured with the first silently opts out of the second, which is the bypass discussed later.

Figure 3 follows one DoH query through TLS, policy, cache, and the authoritative hop, with the failure branches that produce a broken or unfiltered result.

DoH and DoT Change the Resolver Connection
%%{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'}}}%%
sequenceDiagram
    autonumber
    participant C as Client stub
    participant N as Network path
    participant R as Resolver
    participant A as Authoritative NS
    C->>N: DoH request to /dns-query over TLS 443
    Note over N: sees destination and TLS metadata, not qname
    N->>R: encrypted HTTP request
    R->>R: decrypt, check cache and policy
    alt Cache hit or allowed answer
        R-->>C: encrypted answer
    else Cache miss
        R->>A: plaintext DNS query, usually UDP 53
        A-->>R: answer or SERVFAIL
        R-->>C: encrypted answer
    end
    alt TLS blocked or wrong endpoint
        N--xC: connection fails or goes to the wrong resolver
        Note over C: client may fall back to plaintext or fail closed
    else Gateway policy match
        R-->>C: block address, REFUSED, or override
    end

Two product boundaries are worth stating before configuration. 1.1.1.1 DoH and DoT are free and available on all plans, but they are a public service with no tenant. Gateway DNS locations are a Cloudflare One product, and the features that reach private names — resolver policies and Internal DNS — are documented as Enterprise-only. "Cloudflare supports encrypted DNS" therefore does not mean every account can enforce policy over it.

Internal DNS and Split-Resolution Requirements

Private names need a separate design for a structural reason: the public tree has no delegation for them. A name under a reserved TLD such as .example, or a name under a company-owned domain that is deliberately not published, cannot be resolved by 1.1.1.1. The resolver is not withholding an answer; there is no authoritative server for it to ask.

Split-horizon DNS means the same name returns different answers depending on who asks. A company might publish app.example.com as a public marketing site and resolve the same name internally to 10.20.0.15 for staff. The name is identical; the authority and the view are not. Implementations vary, but every one needs the same six pieces:

  • A private namespace with a deliberate collision policy: either a dedicated internal TLD or a name that intentionally shadows a public zone.
  • An authoritative source for that namespace, whether BIND, Windows DNS, Route 53 Resolver, or Cloudflare Internal DNS.
  • A resolver path that can reach that source, such as a tunnel, VPN, or private network route.
  • A policy that selects the private source only for the right clients or queries.
  • An explicit fallback decision for names the private zone does not contain.
  • Logging and an ownership boundary, so a leaked name is visible.

The traditional design runs internal and external authoritative servers and points internal resolvers at the internal one with conditional forwarding. Cloudflare's version uses Internal DNS zones, grouped into DNS views, selected by a Gateway resolver policy. Internal zones are Enterprise-only, included with Gateway for Enterprise customers, and have no assigned Cloudflare nameservers; the documentation says they "can only be queried via Cloudflare Gateway resolver." An internal zone may share a name with a public zone in the same account, which is exactly how a split-horizon name is built.

Three documented edges cause most surprises. Each one changes the answer without changing the record.

EdgeDocumented behaviorOperational response
View deleted while a policy still references itMatching queries return SERVFAILRepoint or delete the policy before the view
Local Domain Fallback enabledApplied client-side before resolver policies; traffic bypasses policy and loggingKeep fallback lists short and audited
"Fallback through public DNS" enabledAn internal REFUSED, NXDOMAIN, or even a CNAME answer is re-asked at 1.1.1.1Disable it for zones that must not leak; audit internal aliases

Fallback can leak a private name

With "fallback through public DNS" enabled, an internal NXDOMAIN or REFUSED answer is re-asked at the public resolver, so a private name can leave your network through the feature meant to smooth over gaps.

The CNAME case is easiest to miss. An internal alias can trigger a public lookup instead of following the internal target.

A public record undoes split horizon

A concrete failure starts with two zones of the same name. A company creates an internal example.com zone alongside its public one and adds wiki only to the internal view.

Staff on Gateway resolve the name to 10.20.0.15; everyone else gets the public answer or NXDOMAIN.

Then someone adds the record to the public zone by mistake during a migration. The name now resolves globally, and the internal view is no longer the only authority.

Nothing about DNS encryption caused the leak; the record was simply published in the wrong zone.

Resolver Choice, Visibility, and Filtering

Resolver choice is really three independent choices: which resolver the client asks, which authority answers, and who is allowed to observe or filter the query. Collapsing them into one decision is how teams end up with a policy that looks correct and does nothing.

Visibility depends on who terminates the query. A network operator sees plaintext DNS on port 53; DoH and DoT remove that view, leaving only the destination and traffic metadata. A public resolver such as 1.1.1.1 sees the query name and source IP, but its privacy commitments truncate the source address and delete operational logs within 25 hours; those commitments describe a public service, not a per-customer query-log console.

Each hop sees a different slice. Gateway sees the query name plus the DNS location or user identity, applies policy, and writes activity logs. An authoritative server sees the resolver's egress address and the query name, and may see an EDNS Client Subnet prefix if the resolver sends one — when ECS is enabled, Cloudflare's Gateway sends a /24 rather than the exact client address.

Filtering follows the same split. These are the three resolver behaviors a client can reach:

ResolverPolicy it appliesWhat a block returns
1.1.1.1None; it does not block or filter contentA normal answer
1.1.1.1 for FamiliesMalware at 1.1.1.2; malware plus adult content at 1.1.1.3A block answer
GatewayOrganizational rules: allow, block, override, SafeSearch, categories0.0.0.0 or :: for A and AAAA, REFUSED for other types, or the block-page address when enabled

That is name-level control, not content inspection.

The bypasses are documented, not hypothetical. Some applications ship their own fallback DNS servers, so a blocked query is retried against 8.8.8.8 and never reaches Gateway. Third-party VPNs and privacy relays such as iCloud Private Relay can prevent Gateway from filtering at all. And a browser configured to use a public DoH endpoint sends its queries there regardless of the operating system's resolver. Firefox's DoH rollout can be disabled with the use-application-dns.net canary domain, which is why that name appears in enterprise DNS guidance.

Check which path a device actually uses before changing policy. These three commands separate local configuration, the answer the system resolver returned, and the Gateway endpoint:

# Resolvers the operating system was configured with (macOS)
scutil --dns | grep 'nameserver\[[0-9]\]'

# The answer and flags the system resolver actually returned
dig +noall +comments www.cloudflare.com A

# The Gateway DoH endpoint, with your location hostname
curl -s -H 'accept: application/dns-json' \
  'https://<your-subdomain>.cloudflare-gateway.com/dns-query?name=www.cloudflare.com&type=A'

A composite scenario shows how the bypasses combine. A 300-person company enables Gateway DNS filtering and sees blocked-domain attempts fall sharply. Two weeks later, an analyst notices the design team still reaches a blocked service. The cause is not a missing rule; one browser profile uses a public secure-DNS provider and one design application retries with a built-in resolver.

Gateway's policy was correct; the queries never arrived. The fix spans three layers: device management that pins secure DNS to the Gateway endpoint, network rules that block outbound port 53 to public resolvers, and an inventory of applications with hardcoded DNS. Figure 4 shows the intended path and the three bypass paths.

One query, three DNS paths, three visibility outcomes The device can send DNS to Cloudflare Gateway, where policy and logging apply; to a public resolver over browser DoH, where the organization sees nothing; or to a hardcoded fallback resolver, which also bypasses policy. Internal names resolve only on the Gateway path. Device asks for a name OS stub or application Organizational visibility Cloudflare Gateway policy + DNS view activity log written Policy applied: yes Org query log: yes Internal names: yes Public names: yes Bypass risk: none on this path Public resolver 1.1.1.1 over browser DoH no tenant policy Policy applied: no Org query log: no Internal names: NXDOMAIN Public names: yes Bypass risk: high Hardcoded fallback 8.8.8.8 or app resolver retry after block or failure Policy applied: no Org query log: no Internal names: NXDOMAIN Public names: yes Bypass risk: high browser DoH setting app retry Only the Gateway path is both policy-enforced and logged.

DNS filtering is not a firewall

A client that reaches a different resolver, or connects to an IP literal, escapes the filter entirely. That is a routing and device-management problem, not a missing rule.

Forwarding rules are easy to make too broad. Cloudflare's documentation warns against sending all *.amazonaws.com queries to an internal Route 53 resolver, because public endpoints such as ssm.us-east-1.amazonaws.com are not resolvable in a VPC and the AWS Console breaks. The failure is a resolver policy sending a public name to an authority that does not own it.

Four products answer four different questions

Cloudflare hosts public zones in Cloudflare DNS, and private zones in Internal DNS for Enterprise accounts.

1.1.1.1 hosts neither; it caches public answers and has no path to an internal zone. Gateway hosts policy and DNS locations, not authority.

If a name resolves differently in two places, ask which of those four products answered before changing a record.

Compare Answers From Two Controlled Resolver Paths

Guided exercise

Compare Answers From Two Controlled Resolver Paths

Execution status: design-only; not executed. The commands and expected observations below come from Cloudflare documentation checked on 2026-11-04. No query was run, no packet was captured, and no timing was measured for this article. The Internal DNS steps need an Enterprise account and are explicitly marked design-only.

Prerequisites. A shell with dig and curl, plus outbound UDP and TCP 53 and HTTPS 443. No paid plan is needed for steps 1–6.

  • Query tool: dig from BIND 9 (bind9-dnsutils on Debian/Ubuntu, preinstalled on macOS).
  • HTTP tool: curl, for the DoH JSON requests.
  • Names: www.cloudflare.com as a public control, and app.corp.example as a private-looking control under the reserved .example TLD.
  • Plan: no paid plan for steps 1–6; step 7 needs Enterprise.

Minimal setup. Work in a scratch directory and save each command and its output to a text file. Do not edit any zone for steps 1–6.

# 1: plaintext answer
dig @1.1.1.1 +noall +answer www.cloudflare.com A

# 2: flags, to prove a cache answered
dig @1.1.1.1 +noall +comments www.cloudflare.com A

# 3: same query over DoH
curl -s -H 'accept: application/dns-json' \
  'https://cloudflare-dns.com/dns-query?name=www.cloudflare.com&type=A'

# 4: authoritative server for the zone
dig +short NS cloudflare.com
dig @<returned-NS> +noall +answer www.cloudflare.com A

# 5: private-looking name, both paths
dig @1.1.1.1 +noall +comments app.corp.example A

# 6: prove there is no delegation
dig +trace app.corp.example A +nodnssec

Actions.

  1. Run command 1. Record the address, TTL, and flags.
  2. Run command 2. Expect NOERROR and the flags qr rd ra, with no authoritative-answer flag. That absence is the evidence that a cache answered.
  3. Run command 3. Expect HTTP 200 and JSON with "Status": 0 and the same address data. A different TTL is plausible because the resolver is anycast and the request may reach a different cache instance.
  4. Run command 4. Expect the authoritative flag, the configured TTL rather than a decremented one, and a warning that recursion is not available.
  5. Run command 5, then repeat the DoH request with name=app.corp.example. Expect NXDOMAIN or a no-answer response; both paths should agree because both use the public tree.
  6. Run command 6. Expect the trace to stop at the root with no referral for .example.
  7. Design-only, Enterprise: create an Internal DNS zone and view, and add an app record pointing at 192.0.2.10. Add a Gateway resolver policy matching the private name that selects the view, then query through the location's DoH endpoint. Expected: the private address, with the query visible in Gateway activity logs. Do not perform this on a production account without a change window.
  8. Design-only, negative control: add an internal CNAME, enable "fallback through public DNS" for that policy, and query a missing internal name and the CNAME. Documentation says both are re-asked at the public resolver. This is the leak to watch for, not a successful resolution.

Expected observations. Steps 1–3 return the same answer data over different transports; step 4 returns the authoritative flag and the full TTL; steps 5–6 return a public negative answer for a private name; step 7 returns a private address only through Gateway. Any deviation is the interesting result.

Failure checks. Read the response before blaming propagation.

  • curl returns 400, 413, 415, or 504. The DoH request shape or a resolver timeout is the cause, not the zone.
  • Gateway returns REFUSED. That usually means policy, not a missing record.
  • SERVFAIL follows an Internal DNS change. The selected view may have been deleted, or the private resolver is unreachable.
  • A private name resolves on 1.1.1.1. That is a leak: check the public zone first, then the fallback setting.

Cost dimensions. The public queries are free. A domain, if you use one, adds an annual registration fee at your registrar. Internal DNS and resolver policies are documented as Enterprise-only; Gateway plan pricing varies, is quote-based, and was not verified for this exercise. No measured cost or query volume is claimed.

Cleanup. In reverse order, delete the resolver policy, then the view, then the internal zone. Remove the scratch file. Re-run step 5 and confirm the private name is still NXDOMAIN publicly.

The design isolates one variable at a time. Steps 1–3 hold the resolver constant and vary the transport, so any difference is transport or cache, not authority. Steps 3–4 hold the name constant and vary the authority, so the aa flag and TTL become the evidence. Steps 5–7 hold the name constant and vary the resolver path, which is the only comparison that can distinguish a private answer from a public one.

Explain Any Difference Without Blaming Propagation

The alternatives are concrete. A different authority answered, a different view was selected, a policy changed the answer, a different cache instance held a different TTL, or the query never reached the resolver you think it did. Use pass/fail evidence rather than intuition:

OutcomeEvidenceWhat it means
Pass: recursiveqr rd ra, no aa, TTL at or below the authoritative valueA cache answered; the resolver does not own the zone
Pass: authoritativeqr aa, full TTLThe zone's own server answered
Pass: transport parityPlaintext and DoH return the same address dataEncryption changed the path, not the answer
Pass: private nameNXDOMAIN from both public pathsNo public delegation exists
Pass: internal namePrivate address only through Gateway, visible in the logThe view and policy worked
Fail: private address in publicA resolver returns a private addressA record was published or leaked
Fail: public answer on GatewayGateway returns a public address for an internal-only nameWrong view or fallback
Fail: SERVFAILFollows a view deletionPolicy references a missing view
Fail: unexpected block0.0.0.0 or REFUSED where an answer was expectedPolicy blocked the query
Fail: TTL too highHigher than the authoritative server'sA stale cache answered

A short self-check, with explanations:

  • Why does wiki.corp.example fail on 1.1.1.1 even with DoH? The public tree never delegates that reserved TLD, so there is no authoritative server to ask. DoH encrypts the path to a resolver that still cannot see a private zone.
  • Does DoH hide the query from everyone? No. It hides the name from the network path, but the resolver still sees the name and the source IP. ODoH is the design that separates those two facts.
  • Why does the same name return 10.20.0.15 in the office and a public address at home? A different authority or view answered. That is split-horizon behavior, not a cache that has not caught up.
  • Why did adding an internal alias break resolution when fallback was on? The documented fallback condition includes a CNAME response, so Gateway re-asked 1.1.1.1 instead of following the internal target. Remove the fallback or avoid the alias.

Unresolved limitations. No Enterprise account was used for this article, so Internal DNS, resolver policies, view deletion, and fallback behavior were not executed; their descriptions come from documentation pages updated between May and October 2026. No packet capture or timing measurement was performed, and no TTL values are reported as measured. 1.1.1.1 is anycast, so two queries can reach different cache instances even with the same command. Gateway plan availability and pricing were not independently verified beyond the documentation's Enterprise-only labels. Browser DoH behavior varies by vendor, version, and device management, so the canary-domain technique should be tested on your own fleet.

References (documentation checked 2026-11-04):

  • Cloudflare 1.1.1.1 resolver overview: https://developers.cloudflare.com/1.1.1.1/
  • DNS over HTTPS: https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/
  • DoH API requests and return codes: https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/make-api-requests/
  • DNS over TLS: https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-tls/
  • Oblivious DNS over HTTPS: https://developers.cloudflare.com/1.1.1.1/encryption/oblivious-dns-over-https/
  • 1.1.1.1 privacy commitments: https://developers.cloudflare.com/1.1.1.1/privacy/public-dns-resolver/
  • 1.1.1.1 setup and Families: https://developers.cloudflare.com/1.1.1.1/setup/
  • Cloudflare DNS overview (authoritative): https://developers.cloudflare.com/dns/
  • Cloudflare Internal DNS: https://developers.cloudflare.com/dns/internal-dns/
  • Internal DNS get started and fallback behavior: https://developers.cloudflare.com/dns/internal-dns/get-started/
  • Internal DNS views: https://developers.cloudflare.com/dns/internal-dns/dns-views/
  • Gateway resolver policies: https://developers.cloudflare.com/cloudflare-one/traffic-controls/resolver-policies/
  • Gateway resolver endpoints: https://developers.cloudflare.com/cloudflare-one/traffic-controls/resolver-endpoints/
  • Gateway DoH endpoints and location matching: https://developers.cloudflare.com/cloudflare-one/traffic-controls/resolver-endpoints/dns-over-https/
  • Gateway DNS policies and fallback-DNS bypass: https://developers.cloudflare.com/cloudflare-one/traffic-controls/dns-policies/
  • Local Domain Fallback: https://developers.cloudflare.com/cloudflare-one/team-and-resources/devices/cloudflare-one-client/configure/route-traffic/local-domains/
  • RFC 8484, DNS Queries over HTTPS: https://www.rfc-editor.org/rfc/rfc8484
  • RFC 7858, Specification for DNS over Transport Layer Security: https://www.rfc-editor.org/rfc/rfc7858
  • RFC 2606, Reserved Top Level DNS Names: https://www.rfc-editor.org/rfc/rfc2606
  • RFC 9230, Oblivious DNS over HTTPS: https://www.rfc-editor.org/rfc/rfc9230

Next in the Series

In Domains and Email: Registration, Routing, and Authentication, we'll explore Keep domain ownership, mail transport, and anti-spoofing distinct.