Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

Public DNS Resolver: Encrypted DNS, Privacy and Families Filtering

How Cloudflare's 1.1.1.1 public resolver works, what it retains, and how to configure DoH, DoT, and filtered DNS for home and mobile devices.

This page summarises Cloudflare’s documentation on the 1.1.1.1 public recursive DNS resolver: what it does, how privacy and encryption differ from typical ISP DNS, which resolver addresses to use (including 1.1.1.1 for Families), and how to confirm your device is actually using it.

1.1.1.1 public DNS resolver: what it is and when to use it

Section titled “1.1.1.1 public DNS resolver: what it is and when to use it”

1.1.1.1 is Cloudflare’s free public DNS resolver. When you open a site or app, your device asks a resolver to turn a domain name into an IP address so it can reach the right server.

When you type a domain name like cloudflare.com into your browser, a DNS resolver translates that name into an IP address (for example, 104.16.123.96) so your device knows which server to contact.

— Cloudflare, 1.1.1.1 (DNS Resolver)

Most people default to DNS from their Internet Service Provider (ISP). Cloudflare positions 1.1.1.1 as a faster alternative that does not sell resolver data for advertising. It runs on Cloudflare’s global network and is free to use; setup is typically a matter of changing DNS on a device, router, or encrypted-DNS client.

Use 1.1.1.1 when you want fast recursive resolution with a published privacy-first logging policy and optional encrypted DNS (DoH/DoT). It is not a enterprise DNS firewall: for administrator-defined blocking and policies, Cloudflare points to Cloudflare Gateway instead (see below).

Resolver addresses: standard 1.1.1.1 vs 1.1.1.1 for Families

Section titled “Resolver addresses: standard 1.1.1.1 vs 1.1.1.1 for Families”

Cloudflare offers three logical resolvers. Each has paired IPv4 and IPv6 addresses for redundancy; details are on IP addresses.

Variant Purpose IPv4 IPv6
1.1.1.1 (unfiltered) Fast lookups, no content filtering 1.1.1.1, 1.0.0.1 2606:4700:4700::1111, 2606:4700:4700::1001
1.1.1.1 for Families — block malware Blocks malware and phishing 1.1.1.2, 1.0.0.2 2606:4700:4700::1112, 2606:4700:4700::1002
1.1.1.1 for Families — malware + adult Also blocks adult content 1.1.1.3, 1.0.0.3 2606:4700:4700::1113, 2606:4700:4700::1003

For encrypted transports, network operators documentation lists matching DNS over HTTPS (DoH) and DNS over TLS (DoT) hostnames—for example https://cloudflare-dns.com/dns-query for the standard resolver and https://security.cloudflare-dns.com/dns-query / https://family.cloudflare-dns.com/dns-query for Families tiers.

When a domain is blocked by Families filtering, Cloudflare returns 0.0.0.0 instead of the real address, so the client cannot connect (Set up — 1.1.1.1 for Families). After configuration, Families docs suggest test URLs such as malware.testcategory.com and nudity.testcategory.com.

Public DNS resolver privacy: what 1.1.1.1 logs and shares

Section titled “Public DNS resolver privacy: what 1.1.1.1 logs and shares”

DNS queries reveal which names you look up. Plaintext DNS can also expose that data on the network path.

By default, most devices use a DNS resolver provided by the Internet service provider (ISP). Some ISPs and third-party DNS providers log your queries, sell data about your Internet activity, or use it to target you with ads. DNS queries are also typically sent in plaintext, which means anyone on the network path between your device and the resolver can see every site you visit and every app you use — even if the content itself is encrypted.

— Cloudflare, Cloudflare’s commitment to privacy: 1.1.1.1 Public DNS Resolver

For the public resolver, Cloudflare commits—including not selling or sharing Public Resolver users’ personal data for ads, limiting retention of client IP (truncation and deletion within 25 hours for Public Resolver Logs), and sharing logs only with APNIC under a research agreement without client IP access (same privacy page).

Privacy policies differ by product surface. Privacy separates 1.1.1.1 Public DNS Resolver, the Cloudflare resolver for Firefox (Cloudflare as processor under Mozilla’s instructions; different fields and 24-hour deletion for detailed query logs—see Cloudflare Resolver for Firefox), and the 1.1.1.1 mobile apps.

Encrypted DNS: DoH, DoT, and ODoH on 1.1.1.1

Section titled “Encrypted DNS: DoH, DoT, and ODoH on 1.1.1.1”

Traditionally DNS is plaintext. Encryption describes three options on 1.1.1.1:

Method Port / transport Role
DNS over TLS (DoT) TCP 853, TLS Dedicated encrypted DNS channel (DNS over TLS)
DNS over HTTPS (DoH) HTTPS 443 DNS inside normal web traffic (DNS over HTTPS)
Oblivious DNS over HTTPS (ODoH) DoH with added separation Resolver should not see identity and query together (Oblivious DNS over HTTPS; RFC experimental)

DNS over HTTPS (DoH) encrypts DNS queries by wrapping them inside regular HTTPS requests. This prevents attackers from forging or altering your DNS traffic.

— Cloudflare, DNS over HTTPS

DoT reaches 1.1.1.1 on port 853; hostname one.one.one.one is used when the client cannot use IP addresses. Stub resolvers verify the server certificate (SPKI pin) before sending queries (DNS over TLS — How it works).

DoH endpoint for programmatic use: https://cloudflare-dns.com/dns-query (Make API requests to 1.1.1.1). Clients may use wireformat (application/dns-message) or JSON (application/dns-json); for critical systems Cloudflare recommends wireformat per Using JSON.

Configure DoH in the browser: Firefox, Chrome, Edge, Brave

Section titled “Configure DoH in the browser: Firefox, Chrome, Edge, Brave”

Major desktop browsers can send secure DNS to Cloudflare when enabled. Steps are in Configure DoH on your browser:

  • Firefox: Privacy & Security → Enable secure DNS → choose Cloudflare.
  • Chrome / Edge / Brave: Security → Use secure DNS → Cloudflare (1.1.1.1).

To confirm browser DoH, visit the 1.1.1.1 help page and check that Using DNS over HTTPS (DoH) shows Yes (same browser guide).

On Android 9+, Private DNS (DoT) can apply on all networks including cellular. Hostnames include one.one.one.one (standard), security.cloudflare-dns.com (malware), and family.cloudflare-dns.com (malware + adult)—see Android setup.

The 1.1.1.1: Faster Internet app is the recommended mobile path; it can run WARP (broader traffic protection) or DNS-only mode with encrypted queries (Android, WARP client — Android). iOS mirrors this pattern (iOS setup).

Configuring DNS on the router pushes the same addresses to every device on the LAN. For a single place to start, see Set up (Windows, Linux, macOS, gaming consoles, cloud VPCs, and more).

1.1.1.1 vs Cloudflare Gateway: filtering and control

Section titled “1.1.1.1 vs Cloudflare Gateway: filtering and control”

Both use Cloudflare DNS infrastructure, but the public resolver and Gateway serve different jobs.

1.1.1.1 does not block any DNS query. When a browser requests for example.com, 1.1.1.1 simply looks up the answer either in cache or by performing a full recursive DNS query.

— Cloudflare, What is the difference between Cloudflare Gateway and 1.1.1.1?

Cloudflare Gateway applies threat intelligence and administrator policies before resolution. Organisations needing SLAs, custom categories, or per-tenant filtering should look at Gateway rather than the free public resolver (SLA and technical support).

Resolver behavior, limits, and operator notes

Section titled “Resolver behavior, limits, and operator notes”

From FAQ:

  • ANY queries: not supported; answers NOTIMPL (mitigation since 2015).
  • EDNS Client Subnet (ECS): not sent to authoritative servers (privacy); exception documented for Akamai debug domain only.
  • IPv6: fully supported at the resolver.
  • Purge Cache: tool to refresh cached answers for a domain (linked from FAQ).
  • Authoritative operators may allowlist Cloudflare egress IPs from cloudflare.com/ips.

Upstream resolution (why answers can differ)

Section titled “Upstream resolution (why answers can differ)”

When cache misses, 1.1.1.1 queries authoritative nameservers with query name minimization, local root zone copies, performance-based nameserver selection, and retries on timeout or temporary errors (Upstream resolution). That design targets speed and privacy; inconsistent authoritative data can still produce surprising results—compare resolvers when debugging (Troubleshooting).

High-volume or scanning traffic from a single IP may be rate limited. Guidance includes spreading queries across IPs and avoiding floods of uncacheable SERVFAIL responses against one domain (Network operators — Rate limiting).

  • Setting DNS on one device while the router still uses ISP DNS, so some devices never hit 1.1.1.1 (Router setup).
  • Enabling DoH in the browser but leaving the OS on another resolver—browsers may bypass system DNS when secure DNS is on (Configure DoH on your browser).
  • Expecting malware blocking on 1.1.1.1 / 1.0.0.1; filtering requires Families IPs or hostnames (Set up).
  • On Linux, editing /etc/resolv.conf while NetworkManager or DHCP overwrites it on reconnect (Linux setup — resolv.conf).
  • Assuming encrypted DNS hides browsing from the sites you visit—encryption protects the lookup, not necessarily all traffic (WARP is a separate feature in the mobile apps).

Troubleshooting DNS resolution and encrypted transports

Section titled “Troubleshooting DNS resolution and encrypted transports”

Name problems: Compare answers from 1.1.1.1 and another resolver (e.g. 8.8.8.8). dig +short CHAOS TXT id.server @1.1.1.1 shows which Cloudflare site handled the query (Troubleshooting — Name resolution).

Connectivity: If queries time out, run traceroute to 1.1.1.1 and 1.0.0.1 before reporting routing issues (Troubleshooting — Connectivity).

DoT: Test TLS to port 853 and kdig +tls where available (Troubleshooting — DNS-over-TLS).

DoH: Quick JSON test:

curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=cloudflare.com&type=AAAA'

(Troubleshooting — DNS-over-HTTPS)

For authoritative-side issues, Cloudflare suggests optional DNSViz analysis (linked from troubleshooting).

  1. On a device or network where you applied these settings, open the 1.1.1.1 help page as described in Verify connection and confirm the connection to Cloudflare’s resolver is working and note the serving data center.

  2. If you enabled browser secure DNS, confirm Using DNS over HTTPS (DoH) shows Yes on that same help page (Configure DoH on your browser).

  3. Run a spot check with dig example.com @1.1.1.1 (or nslookup on Windows) and compare with another resolver if a specific domain misbehaves (Troubleshooting).

  4. If you use 1.1.1.1 for Families, open the filter test URLs from Set up — Test 1.1.1.1 for Families to confirm blocking.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact wording you are asking about, and we will correct or clarify it.