ThisCalculator

Everyday

Public DNS: How It Works and How to Choose

Updated · Standard formula, shown below

Public DNS: How It Works and How to Choose

Public DNS is a Domain Name System resolver available for anyone to use over the internet, rather than one provided only by a workplace or internet service provider. It looks up the IP addresses associated with domain names such as example.com, helping your device find the right server; choosing a different resolver can affect privacy, filtering, reliability, and sometimes response speed.

What public DNS means

The DNS is a distributed system that translates names people can recognize into records computers use. A public DNS service operates recursive resolvers: when asked for a name, a resolver finds or retrieves the relevant DNS information and returns it to the device. People commonly use “public DNS” to mean a resolver anyone can configure, often at no charge, though access rules and features vary by provider.

Your device usually gets a DNS resolver address automatically from the network, often through the router or a mobile carrier. That resolver might be run by your internet service provider (ISP), your organization, or another service. Using a public resolver changes which service handles DNS queries; it does not change your internet provider or replace the DNS records that website owners publish.

How a DNS lookup works

Suppose you enter a website name in a browser. If the answer is not already available in the device’s or resolver’s cache, the recursive resolver follows the DNS hierarchy. It can ask a root server where to find the relevant top-level domain servers, then ask those servers where the domain’s authoritative nameservers are. The authoritative server supplies the requested record, and the resolver returns it to your device and may cache it for the record’s time to live (TTL).

The result may be an IPv4 address (an A record), an IPv6 address (an AAAA record), or another type of record needed for a different purpose. A lookup does not normally download a website: it only helps locate a service. The browser then connects to the returned address using the relevant web protocols.

Queries may be answered from caches, so not every lookup triggers a trip through the full DNS hierarchy. Cached information is generally reused only for the period specified by its TTL, although resolver policies and DNS changes can affect when users see an update.

Why use a public resolver?

  • Alternative to the default resolver: A public service can be useful if an ISP resolver is unreliable or has a particular behavior you want to avoid.
  • Filtering features: Some services offer optional blocking of categories such as known malicious domains or adult content. The scope and accuracy depend on the service and configuration.
  • Encrypted DNS: Some resolvers support DNS over HTTPS (DoH) or DNS over TLS (DoT), which encrypt DNS queries between a compatible device and resolver. Encryption can reduce exposure to observers on the local network, but does not hide all browsing activity.
  • Consistent settings: You may choose to use the same resolver across devices or networks, subject to device and network policies.

A different resolver does not guarantee faster browsing. DNS lookup time is just one part of loading a page, and caching, distance, congestion, the website’s own servers, and the network connection all matter. A resolver that is quick from one location may perform differently elsewhere.

How to choose a public DNS service

Compare the features that matter to you rather than choosing based on a speed claim alone. Check the provider’s current documentation and privacy policy, because data handling and available options can change.

  • Privacy and retention: Find out what query data is collected, how long it is retained, and whether it is used for operations, analytics, or other purposes. “Public” does not mean anonymous.
  • Security features: Look for support for DNSSEC validation, which helps detect certain forged or altered DNS responses when the domain is correctly signed. DNSSEC does not encrypt queries.
  • Filtering and controls: Confirm whether filtering is opt-in, how categories are selected, and whether false positives can be corrected. A filtered resolver can block a domain you need.
  • Protocols and compatibility: Check whether your device or router supports the service’s encrypted DNS options. Traditional DNS and encrypted DNS are configured differently.
  • Reliability and location: Consider the provider’s published service information and whether it operates resolvers that are reachable from your network. You can compare response times from your own location, but results can vary.

Setup, costs, and common problems

Public DNS services are often offered without a usage fee, but the provider sets the terms and may offer paid features. To use one, configure the resolver addresses in your device or router, or select a supported encrypted DNS provider in the operating system or browser. The exact menus differ by platform. Router-level configuration can apply to many devices on a home network; device-level settings affect only that device and may take precedence.

Before changing settings, note the existing values so you can restore them. On a managed work or school device, follow the organization’s instructions rather than overriding network settings. A network may intentionally use its own resolver for access to internal sites, parental controls, or security policies.

If browsing stops working after a change, verify that the resolver addresses and protocol settings were entered correctly, then return to automatic DNS temporarily. Restarting the network connection or clearing the DNS cache can help after a configuration change, but cache-clearing steps depend on the operating system. If only one site fails, the problem may be that site’s DNS records or server rather than your chosen resolver. A filtering service may also be deliberately blocking the domain.

Privacy, safety, and limitations

DNS is only one part of online privacy. With ordinary DNS, queries may be visible to the network and resolver. DoH and DoT protect the query in transit to the selected resolver, but the resolver can still receive the query, and encryption does not conceal the connection to the website itself. Websites, apps, network operators, and other systems may have separate information about activity.

Changing DNS also does not make a connection inherently secure, remove malware, or guarantee that a site is trustworthy. HTTPS protects data exchanged with a correctly authenticated website, while DNS helps locate it; the two serve different purposes. Be cautious about enabling filtering without understanding what it blocks, and do not treat DNS blocking as a complete security solution.

Public DNS compared with alternatives

Your ISP’s resolver is the default in many networks and may integrate with that provider’s support or network features. A public resolver is run by a separate service and may offer different privacy terms, filtering, or encryption. Neither option is automatically best for every person or network.

Organizations often operate private DNS for internal names and policies. A VPN may route DNS queries through its own resolver, depending on its settings; configuring a separate resolver can conflict with that arrangement or cause DNS leaks. For ordinary home use, automatic DNS is a reasonable choice if it works well and meets your needs. Consider a public service when you have a specific reason, such as a feature or a persistent resolver problem.

Frequently Asked Questions

Is public DNS free?
Many public resolvers offer a free service, but terms, limits, and optional paid features vary. Check the provider’s current service details.

Does public DNS make the internet faster?
It may reduce DNS lookup time in some circumstances, but it cannot guarantee faster page loading. The effect depends on the resolver, your location, caching, and the rest of the connection.

Is public DNS safer than my ISP’s DNS?
Not by default. Safety depends on the resolver’s reliability, security practices, and features. DNSSEC validation and encrypted DNS address different risks, and neither replaces HTTPS or other security measures.

Can a public DNS provider see the websites I visit?
A resolver can receive the domain names in DNS queries it handles. Encrypted DNS protects queries from some observers between your device and the resolver, but it does not hide them from that resolver.

Will changing DNS bypass a website block?
It can change the result of some DNS-based blocks, but not all restrictions work through DNS. A network may enforce controls elsewhere, and you should follow applicable network policies.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.