Encrypted DNS explained, with a setup plan you can check
Understand DNS over HTTPS and DNS over TLS, choose where to configure them and avoid confusing encrypted lookups with a VPN.
Before a browser reaches a website, it usually needs an address for the site's domain. DNS provides that lookup. Encrypting the lookup can reduce what people on the network path can read or change, but it does not make every part of a browsing session private.
The common names are DNS over HTTPS, often shortened to DoH, and DNS over TLS, or DoT. Both protect DNS traffic between a client and a resolver. The resolver still performs the lookup, so choosing one also means choosing a party you trust with those requests.
A good setup is one you understand well enough to check and troubleshoot. Adding several conflicting DNS apps is not automatically an improvement.
Separate the lookup from the website connection
Think of DNS as finding an address and HTTPS as protecting the conversation with the website at that address. They serve different roles.
Cloudflare's encrypted DNS documentation describes traditional unencrypted queries and the supported encryption methods. The key practical point is that protecting DNS does not hide the destination IP address of all later connections, remove account identifiers or block every tracking method.
A website can still recognize a signed-in account. Cookies and other browser state remain separate concerns. Use the browser privacy settings guide for those controls.
Likewise, encrypted DNS is not a VPN. It does not place all device traffic inside a tunnel or promise a different public IP address for ordinary website connections.
Choose the layer you intend to configure
You may find DNS settings in the browser, operating system, router or a network application. Their scope differs.
| Setting location | What to check |
|---|---|
| Browser | Usually affects that browser's lookups, subject to its implementation and policies. |
| Operating system | Can cover applications using the system resolver, but apps may use their own methods. |
| Router | Affects clients that use the router's DNS service; some devices or apps may override it. |
| VPN application | May supply its own DNS behavior while connected, depending on platform and settings. |
Choose one understandable starting point. For a single browser on a personal computer, its built-in setting may be easiest. For a household router, read the manufacturer's documentation and consider every device that relies on it.
Read the provider's data policy, not just its speed claim
A DNS resolver needs to receive queries to answer them. Encryption on the path does not by itself tell you how the resolver retains or uses those queries.
Look for a clear operator, published data-handling policy, current setup instructions and an explanation of any filtering. Some resolvers block selected domains; others do not. Decide whether that behavior matches your purpose.
A resolver that feels quick in one test is not automatically the best privacy choice. Availability, transparency and compatibility matter too.
The Domain / IP / DNS directory provides research starting points. Treat a directory entry as a way to find documentation, not a certification of a provider's practices.
Configure Firefox with its protection level in mind
In Firefox, look in Settings → Privacy & Security → DNS over HTTPS. Mozilla's current guide explains the available levels and their behavior when a resolver is unavailable or a managed network policy applies.
The important decision is fallback. A setting that returns to the system resolver can keep browsing working, but that fallback may not preserve the exact encrypted-DNS path you expected. A stricter setting can instead show a warning or prevent a lookup from completing.
Choose the behavior you can manage. On a work or school device, do not override an administrator's policy or break access to internal services just to make a status indicator look stronger.
After saving, inspect Firefox's displayed status. The fact that a feature is configured does not always mean it is active on the current network.
Test normal use before declaring the job finished
Open several sites you use, including a login page and a service that previously had connection trouble. Confirm that normal browsing still works.
Then use the provider's documented connection-check page where available. Such a page can report what it sees during that test; it is not a complete audit of every application on the device.
Check again after switching networks or connecting a VPN. A browser, operating system and VPN may apply settings at different layers, so the effective route can change.
Keep the original setting recorded before making changes. A short note such as “system default before this change” is enough to make troubleshooting less confusing.
Avoid breaking local names and login portals
A home server or printer may use a local name that a public resolver does not know. Work networks may also depend on internal DNS. If a change breaks those names, investigate the scope instead of assuming the service disappeared.
Public Wi-Fi portals can add another complication because you may need to complete their access step before your chosen resolver is reachable. Follow the browser or provider's documented behavior and restore temporary changes after access is established.
Do not fix a DNS problem by disabling HTTPS warnings, installing an unfamiliar certificate or granting a website broad device permissions. Those changes address different mechanisms and can create unnecessary exposure.
The public Wi-Fi guide gives a calmer troubleshooting order for venue networks.
Know when a VPN or browser change is the actual next step
If your goal is to hide the device's ordinary public IP address from websites, encrypted DNS alone does not do that. Read the VPN limitations guide before choosing another tool.
If your concern is cross-site tracking, start with cookies, extensions, account state and permissions. A DNS setting cannot erase information you voluntarily give a site.
If your concern is a shared computer, separate operating-system users and device locking are more relevant than sending lookups to another resolver.
Matching the control to the problem helps avoid a collection of apps that all claim privacy while solving different tasks.
Keep the configuration small enough to maintain
Record which resolver and setting you chose, why you chose them and how to return to the previous configuration. Review that note when changing devices, VPNs or routers.
Do not keep installing new DNS tools because each one shows a different score. A test may be detecting a deliberate browser resolver, a VPN resolver or an actual mismatch; those cases need interpretation.
For VPN-related questions, use the connection and leak-check guide. The useful outcome here is narrower: a known DNS path, an understood fallback policy and a working way to check it.
Sources and further reading
- Cloudflare documentation: Encrypt DNS traffic Consulted 28 September 2026.
- Mozilla Support: Configure DNS over HTTPS protection levels Consulted 28 September 2026.
Consult the linked documentation for current details. Settings, availability and interface labels may change.
Spotted something that needs correcting? Send a correction with this article’s title and the relevant source.