Technical guide • Network fundamentals

Choose the DNS
that fits your work.

A practical guide to public DNS resolvers for speed, privacy, security, and content filtering.

Choose a resolver for a purpose.

A public DNS resolver answers questions about Internet names for your devices. Some services emphasize fast responses, some block known malicious domains, and others offer family or advertising filters. Choose the policy that fits, then measure the service from your own location.

Cloudflare’s 1.1.1.1 and Google Public DNS are sensible places to begin a speed comparison. Their performance depends on your network, routing, location, cache, time of day, and the names you request. Neither is guaranteed to be fastest for every user.

Keep the goal in view

A fast lookup helps an application find a destination. It does not increase the speed of an Internet connection or guarantee a fast application.

These are recursive resolvers: they find DNS answers for clients. They do not host the authoritative records for your organization’s own domain. See our business DNS guide for how the two roles differ.

What do you want it to do?

The services below offer public options without a direct charge; some restrict the intended use or have separate organizational plans. The addresses are IPv4 examples. Use each provider’s documented primary and secondary addresses for the same service and policy. Availability, terms, logging, and supported features can change.

On a small screen, scroll across the table to see all columns.

GoalService and IPv4 addressesWhat to know
Fast lookupsCloudflare 1.1.1.1
1.1.1.1
1.0.0.1
  • General-purpose DNS; no malware or family filters on these addresses.
  • Encrypted DNS is available with a compatible client.
Fast lookupsGoogle Public DNS
8.8.8.8
8.8.4.4
  • Checks signed DNS answers (DNSSEC).
  • Encrypted DNS is available.
  • See privacy notes before choosing.
Malicious blockingQuad9 secured
9.9.9.9
149.112.112.112
  • Blocks known malicious domains.
  • Checks signed DNS answers (DNSSEC).
  • A block does not necessarily mean a device is infected; report mistakes.
Malware or family filteringCloudflare for Families
1.1.1.2 / 1.0.0.2
1.1.1.3 / 1.0.0.3
  • .2 pair: Blocks known malware domains.
  • .3 pair: Blocks known malware and adult-content domains.
  • Use both addresses from your chosen pair.
Ad and tracker filteringAdGuard DNS default
94.140.14.14
94.140.15.15
  • Filters domains used for ads and trackers.
  • Family and unfiltered profiles are also available.
  • Check privacy terms and suitability for your organization.
Consumer family filteringOpenDNS FamilyShield
208.67.222.123
208.67.220.123
  • Free preset family filter from Cisco.
  • OpenDNS Home offers custom filtering with an account.
  • Check consumer-service terms for work or school.
Family controls at homeCleanBrowsing Family
185.228.168.168
185.228.169.168
  • Family filtering, with SafeSearch where supported.
  • Free filters are for parents, not organizations.
  • Businesses and schools should review organizational plans and terms.
One address can mean a different policy. For example, CleanBrowsing’s 185.228.168.9 is its Security filter, not its Family filter. Confirm the exact addresses before configuring a device.

Some providers also publish IPv6 resolver addresses. Configure and test IPv4 and IPv6 together if your network uses both. A filtered IPv4 resolver alongside an unfiltered IPv6 resolver can produce inconsistent policy enforcement.

IPv6 addressesShow matching IPv6 addresses

Choose the pair that matches your IPv4 service and policy. Verify addresses with the provider before making a change.

CloudflareStandard
2606:4700:4700::11112606:4700:4700::1001
CloudflareMalware
2606:4700:4700::11122606:4700:4700::1002
CloudflareMalware and adult
2606:4700:4700::11132606:4700:4700::1003
Google
2001:4860:4860::88882001:4860:4860::8844
Quad9Secured
2620:fe::fe2620:fe::9
AdGuardDefault
2a10:50c0::ad1:ff2a10:50c0::ad2:ff
CleanBrowsingFamily · home-use restrictions apply
2a0d:2a00:1::2a0d:2a00:2::

Measure from where people work.

DNS lookup time depends on the path to the resolver and whether its answer is already cached. A cached answer and an uncached answer can take very different amounts of time. A resolver can also return a different content-delivery endpoint depending on its location and DNS features, affecting the subsequent connection.

Explore our public DNS measurements for a view from Stealth’s New York City network. Compare ping round-trip time and a separate DNS lookup over UDP port 53.

  1. 01

    Pick a representative starting point

    Use the office, school, or remote connection you want to assess. Record the device, network, date, address family, resolver, and whether the test uses ordinary DNS or an encrypted client.

  2. 02

    Use the same small set of public names

    Test common public services relevant to your work, using the same record types for each resolver. Do not send internal hostnames to public resolvers. Space queries out and respect provider rate limits.

  3. 03

    Repeat and compare

    Collect samples across busy and quiet periods, ideally over a day. Record failures and timeouts as well as timing. Compare the median and, with enough samples, a high percentile such as the 95th; a single fastest result does not describe consistency.

  4. 04

    Test the application too

    Check actual web or application performance and reliability. DNS timing alone does not measure the path to the service, application latency, or available bandwidth.

For a quick manual comparison on a system with dig, run the same public lookup against each candidate. These commands normally send unencrypted DNS over UDP port 53; they do not test DNS-over-HTTPS or DNS-over-TLS.

Cloudflare
dig @1.1.1.1 example.com A +time=2 +tries=1
Google
dig @8.8.8.8 example.com A +time=2 +tries=1

Look at the response status, answers, and Query time. These are examples, not a benchmark: changing the order or repeating a name can change cache conditions. A fast response with the wrong policy, a timeout, or a different answer still needs investigation. On Windows, nslookup example.com 1.1.1.1 is useful to check an answer, but it does not provide the same timing report.

Know what a filter can—and cannot—do.

A security resolver can refuse or redirect lookups for domains on its threat lists. Coverage, update timing, false positives, and the way blocked requests are reported differ among services. It will not catch every malicious destination, stop all phishing, or replace device protection, firewalls, and user training. DNSSEC validation helps detect forged DNS data where signed records are available; it does not certify that a website or its content is safe.

Family filters and ad blockers operate on the names they can identify. They may block useful resources, miss unwanted material, or be bypassed by another resolver, a browser’s encrypted DNS, a VPN, or another network path. A school or business should decide which controls are appropriate, communicate the policy, and test needed applications. SafeSearch behavior also depends on the search or video service and its configuration.

Changing resolvers also does not guarantee access to a blocked service. Restrictions or failures can occur elsewhere in the network or at the destination, and local rules and organizational policies still apply.

Be consistent. If a protected resolver is paired with an unfiltered resolver, devices may use either one. Use both primary and secondary addresses from the same filtering policy when consistent filtering is required, and verify how your devices and network handle fallback.

Understand who can see a lookup.

Traditional DNS requests are commonly sent without encryption. DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) encrypt the connection from a compatible client to the resolver. This can protect DNS queries from observers on that path; the resolver still receives the requests, and the sites or applications you connect to can still learn about those connections. Encryption does not make browsing anonymous.

Read the provider’s policy for IP addresses, query logs, retention, analytics, security exceptions, and legal obligations. Some resolvers use EDNS Client Subnet to send a portion of a client’s network address to authoritative DNS systems to help select a nearby service endpoint. Providers handle that feature differently; check its current documentation and your privacy requirements.

For example, Google says its temporary logs contain IP addresses and query details and are normally deleted within 24–48 hours, with longer retention possible for security and abuse investigations; sampled data without the original IP can be retained for analysis. Cloudflare says its resolver logs are deleted within 25 hours, with specified sampling exceptions for troubleshooting and research. Quad9 says it generally does not write client IPs to disk or transmit them outside the receiving location, with limited exceptions for abuse mitigation. These summaries are starting points, not substitutes for the providers’ current policies.

Oblivious DNS is a separate protocol design involving a compatible client, proxy, and target resolver. Its privacy properties depend on the parties and configuration; simply setting a resolver’s IP address does not enable it.

Keep internal names working.

Many organizations rely on internal DNS for private applications, directory services, printers, and VPN resources. Replacing a managed resolver on a device or firewall with a public resolver can break private names or send sensitive internal queries to a third party. Your IT team may instead use approved internal resolvers with carefully configured forwarding or split DNS.

Check device management, DHCP, IPv4 and IPv6 settings, firewall rules, VPN software, and browser-level encrypted DNS. A browser or VPN may use a different resolver from the one displayed in the operating system. Decide which layer controls policy and test from a representative managed device.

Public services vary in their terms, availability, support, logging, reporting, and suitability for commercial or educational networks. A free consumer service is not automatically an appropriate organizational service. For critical operations, consider service commitments, redundancy, change control, and how to investigate a filtering mistake.

Change carefully, then test.

  1. 01

    Record the current settings

    Before making a change, document the existing IPv4 and IPv6 resolvers, encrypted DNS settings, management policy, and how to restore them. Coordinate with the network or security team.

  2. 02

    Choose a matching pair

    Enter the provider’s primary and secondary addresses for the same policy. For DoH or DoT, use its documented endpoint and a client that supports the protocol; an IP address alone does not turn on encryption.

  3. 03

    Verify from a representative device

    Test public names, approved internal names, VPN access, and important applications. Check the actual resolver used by the operating system and browser; a direct query to a public address only proves that the address answered that test.

  4. 04

    Confirm the policy

    Use the provider’s published test procedures for encryption or filtering where available. Review results with IT, test both address families where used, and keep a documented rollback path.

Encrypted DNS support is client- and configuration-specific. Follow the provider’s current setup guide for the operating system, browser, router, or managed network. See the business DNS guide for additional nslookup examples.

Questions to ask before choosing.

  • Is the priority lookup speed, malicious-domain blocking, privacy, content controls, or a combination?
  • What do measurements from our actual networks show for median, slower responses, and failures?
  • Are the IPv4 and IPv6 addresses from the same service and filtering policy?
  • Will internal DNS, VPN access, applications, and managed devices continue to work?
  • What data does the resolver retain or share, and how long?
  • Does the plan permit our use, and what support or service commitment is provided?
  • How can we investigate a block, request a correction, and roll back a change?

Sources and further reading.

Resolver services

Addresses and filtering

Privacy and protocols

How requests are handled

Prepared by Stealth Communications, a provider of business connectivity. Examples are informational; providers control their services and terms. Confirm requirements with your IT team before changing production settings.

Published November 1, 2026.