DNS in a VPN-less World: Entra Global Secure Access vs Cloudflare One, in Depth

DNS in a VPN-less World: Entra Global Secure Access vs Cloudflare One, in Depth

[Diagram to be added here]

What you’ll learn: a precise, side-by-side model of how Microsoft Entra Global Secure Access (GSA) and Cloudflare One resolve and route DNS for private applications, the exact failure modes you will hit in production (DoH, search-domain suffixing, overlapping RFC1918, TTL during cutover), and a design checklist you can apply before committing to either.

Framing: DNS is the first hop of Zero Trust, not an afterthought

Inside a VPN, DNS is trivial: the tunnel owns the resolver and split-horizon simply works. Remove the VPN and DNS becomes the control point that decides whether the access layer even sees the request. Two failure classes dominate every VPN-less design. Failure A — resolution: the client resolves an internal name to a public, stale, or empty answer and never engages the proxy, so the user just sees a timeout. Failure B — scope: the client resolves correctly, but the resolved IP falls outside the captured scope, so the flow bypasses the policy plane entirely. Everything below is about which component owns resolution, and how each product avoids A and B.

GSA: FQDN-driven capture, and why DoH is fatal to it

Entra Private Access decides what to tunnel using FQDN and IP rules in the Private (or Quick Access) traffic-forwarding profile. The GSA client intercepts DNS, matches the queried name against those FQDN rules, and on a match tunnels the subsequent connection to the Microsoft edge, where a Private Network connector near the app completes the path. The brittle dependency is that the client must see DNS in the clear to match FQDNs.

  • DoH / Secure DNS must be off. If DNS-over-HTTPS is enabled in the browser or OS, queries are encrypted past the client’s matcher, the FQDN rules never fire, and private resolution fails silently. This is a fleet-wide setting you must positively control, not assume.
  • Search-domain suffixing bites. A bare hostname suffixed to an unexpected DNS suffix won’t match a rule written for the FQDN. Normalize what the endpoints actually query.
  • Profile precedence. Traffic is evaluated Microsoft → Private → Internet. A name that also matches the Microsoft profile is claimed there first — watch for overlap with M365-adjacent names.

Cloudflare One: Gateway resolves, resolver policies rebuild split-horizon in the cloud

Cloudflare One inverts ownership. The WARP (Cloudflare One) client forwards DNS to Gateway, which applies DNS policies (block / allow / override) centrally. For internal names you use resolver policies (an Enterprise capability) to match specific internal domains and forward those queries to your private DNS servers reached over the Tunnel. Split-horizon is therefore reconstructed in Cloudflare’s edge rather than on the endpoint, and you never disable encrypted DNS — WARP itself is the encrypted path. The private app is published on the Tunnel by hostname or IP/CIDR; the resolved internal IP is routed into Cloudflare and out through cloudflared to the origin, which sees the cloudflared host IP as the source.

Side by side

DimensionEntra GSACloudflare One
What matches trafficFQDN/IP rules in forwarding profileGateway + resolver policies
Who resolves internal namesEndpoint, against configured FQDNs/IPsGateway → private DNS over Tunnel
Encrypted DNS stanceDoH must be disabled on clientDNS carried inside WARP; DoH not an issue
Split-horizon rebuilt whereOn the endpointIn the Cloudflare edge
Origin sees source IPConnector-dependentcloudflared host IP
Where policy livesProfiles + Conditional AccessGateway DNS/resolver policies

The failure modes you will actually hit

  • DoH left enabled — GSA private resolution breaks silently; Cloudflare is unaffected.
  • Search-domain suffixing — endpoints query app not app.corp.local; GSA FQDN rules miss.
  • Over-broad resolver policy — Cloudflare forwards too much (internal queries leak to public, or public queries hit private DNS). Scope domains tightly.
  • Overlapping RFC1918 — the client LAN and the published CIDR collide; the local route can win and bypass the tunnel. True for both.
  • TTL and caching during cutover — a stale cached record points at the old path well after you flip the record. Lower TTLs before a migration window; validate cache state.

A design checklist (takeover-grade method, applied to DNS)

Treat the DNS layer the way you would any change on critical infrastructure — Current State → Risk → Business Impact → Dependency → Mitigation → Target → Rollback → Validation:

  • Current State: inventory who resolves what today (endpoint resolver, internal zones, conditional forwarders, DoH state).
  • Dependency: authoritative private DNS location, AD-integrated zones, M365 name overlap.
  • Mitigation / Rollback: keep the legacy path routable during cutover; be able to revert the forwarding profile / resolver policy in one step.
  • Validation (prove the negative): internal names resolve only through the access path; confirm they do not resolve or route when the client is disconnected; test with DoH toggled both on and off.

How to choose

If identity and DNS already live in Entra, GSA keeps a single plane — accept the DoH constraint as a managed, enforced setting rather than a hope. If you want centralized DNS filtering plus flexible private resolvers, or you are already standardized on Cloudflare, Gateway + resolver policies give finer control and never touch endpoint DoH. The deciding variables are concrete: where authoritative private DNS lives, whether you can enforce DoH state across the entire fleet, and whether DNS-layer filtering must be part of the same control plane. Neither product is “better” in the abstract; the right answer follows your identity provider and your DNS authority.

⚠ DNS behaviour in both products evolves; verify resolver/profile specifics against current vendor docs before you design around them. Generic patterns from my own study and labs — no client- or employer-specific configuration.


Questions or feedback? Connect with me on LinkedIn: Mokrane Assam.

Mokrane ASSAM

Comments are closed.