DNS over HTTPS explained in plain terms means sending the address lookups your browser makes through an encrypted connection, so that nobody watching the network can see which websites you are asking about. The central question is why an ordinary web address lookup needs privacy at all, and the short answer is that traditional lookups travel in plain text, visible to anyone between you and the internet, including your internet provider and anyone on the same public Wi-Fi.
Every time you visit a website, your device first asks a DNS server to turn the site’s name into a number, an IP address, that the network can use. That question has always been asked in the open. Even when the website itself is protected by encryption, the lookup that finds it is not, which means an observer can build a list of every site you visit without ever seeing the pages themselves.
DNS over HTTPS, usually shortened to DoH, closes that gap by wrapping the lookup inside the same encrypted connection your browser already uses for secure websites. The question and the answer are hidden from anyone watching the wire, and only the DNS server you chose can read them.
Key takeaways
- DNS over HTTPS encrypts the address lookups your browser makes, hiding which sites you visit from network observers.
- Traditional DNS queries travel in plain text, visible to internet providers and anyone on the same network.
- DoH sends lookups over an HTTPS connection to a resolver you choose, such as your browser’s default or one you pick.
- It protects the lookup only; the site you visit still knows who you are, and your provider still sees the connection.
- Most modern browsers support DoH and can turn it on with a single setting.
What DNS over HTTPS is
DNS over HTTPS is a way of performing DNS lookups inside an ordinary HTTPS connection, the same encrypted channel that protects secure websites. Instead of sending the question “what is the address of example.com?” in plain text over the standard DNS port, the browser sends it as an encrypted web request to a DNS resolver that supports the protocol, and receives the answer the same way.
The standard DNS system was designed in the 1980s, when the internet was a small network of trusted institutions and nobody worried about eavesdropping. Queries were sent in plain text because there was no reason to hide them. That assumption no longer holds: the network between you and a website may pass through equipment you do not control, and the plain-text lookup is an easy source of information about what you do online.
DoH does not change what DNS does, only how the question travels. The browser still asks the same question and gets the same answer; the difference is that the exchange is encrypted and looks, to anyone watching, like an ordinary visit to a secure website. Our guide to DNS explains how the lookup system works in the first place, and our guide to TLS explains the encryption that protects the connection once the lookup is done.
How DNS over HTTPS works
When DoH is enabled, the browser takes each DNS question and wraps it in an HTTPS request to its chosen resolver. That request travels through the same encrypted tunnel as a visit to a secure site, so an observer on the network sees only a connection to the resolver’s address, not the question inside it. The resolver reads the question, looks up the answer, and sends it back through the same encrypted tunnel.
The browser usually keeps one long-lived connection to the resolver open, sending many lookups through it. This is more efficient than opening a new connection for each question, and it also makes the traffic harder to analyse, because the individual lookups are mixed together inside a single stream of encrypted data.
A key detail is who the resolver is. With traditional DNS, the resolver is usually run by your internet provider, which means the provider sees every lookup by design. With DoH, the browser chooses the resolver, and the default is often run by the browser maker or a large cloud company. That shifts trust from one organisation to another, which is why the choice of resolver matters and why some people change it to one they trust more.
DoH also has to handle the question of which sites should use it. Some networks, such as corporate offices and schools, rely on seeing DNS lookups to block harmful or inappropriate sites, and DoH can bypass those controls. Browsers therefore include rules that disable DoH on networks that ask for it, or let administrators turn it off, so that the protection does not silently break the policies of the network you are on.

Comparing DNS over HTTPS with DNS over TLS
DNS over HTTPS is not the only way to encrypt lookups. DNS over TLS, usually shortened to DoT, does the same job through a different channel, and the two are often confused. Both hide the contents of the lookup; they differ in how the encrypted traffic looks to an observer and where the setting lives.
The table below sets out the main contrasts.
| Aspect | DNS over HTTPS | DNS over TLS |
|---|---|---|
| How it travels | Inside an ordinary HTTPS web request | Through a dedicated encrypted DNS channel |
| Port used | 443, the same as secure websites | 853, reserved for encrypted DNS |
| Visible to an observer? | Looks like ordinary web traffic | Visible as DNS traffic, contents hidden |
| Where it is set | Usually in the browser | Usually in the operating system |
| Easy to block? | Hard, blocking it means blocking secure websites | Easy, a network can block port 853 |
| Best for | Protecting lookups in the browser | Protecting all lookups on a device |
The practical difference is scope. DoH protects the lookups your browser makes, which is where most people do most of their browsing. DoT protects the lookups made by everything on the device, including apps and system services, but it is easier for a network to block and harder for an ordinary user to switch on.
Where DNS over HTTPS is used
Web browsers are the main home of DoH. Firefox, Chrome, Edge, and Brave all support it, and most of them turn it on by default or offer it as a single setting. For most users this is the whole story: the browser quietly encrypts its lookups, and nothing else needs to change.
Public Wi-Fi is where the protection matters most. On a cafe or airport network, anyone with modest tools can watch the plain-text DNS queries of everyone nearby, building a picture of who visits what. With DoH enabled, those lookups are hidden inside encrypted traffic, and the observer sees only connections to the resolver, not the sites being visited.
People in countries with heavy internet monitoring use DoH for a similar reason. Where DNS is used to block access to sites or to log what people read, encrypting the lookup makes that monitoring harder, though it does not make it impossible, since other signals can still reveal the destination.
Organisations use DoH in a more controlled way. Some companies run their own DoH resolver inside their network, so that lookups are encrypted on the wire but still visible to the company’s own security team. That keeps the protection without losing the ability to spot harmful sites, which is a balance many security teams prefer.
Strengths and limits
The greatest strength of DoH is that it removes an easy source of information about your browsing. A plain-text DNS lookup is one of the simplest things to watch on a network, and encrypting it closes a gap that has existed since the internet began. For anyone on a network they do not trust, that is a genuine improvement.
It is also easy to adopt. There is nothing to install and nothing to learn: the browser does the work, and the user only needs to check that the setting is on. That low friction is why DoH has spread far faster than earlier attempts to secure DNS, which usually needed technical skill to set up.
The limits deserve honesty. DoH hides the lookup, but it does not hide the connection that follows: your provider can still see the address of the server you connect to, and the site itself still knows you visited. The resolver you use can see every lookup, so you are trusting it instead of your provider, which is a choice rather than a cure. And DoH can bypass the content controls that schools, workplaces, and parents rely on, which is why some networks deliberately disable it.
DNS over HTTPS checklist
- Check whether your browser already has DNS over HTTPS turned on, and which resolver it uses.
- Choose a resolver you trust, and change the default if you would rather use another one.
- Remember that DoH protects the lookup, not the connection, so use secure websites as well.
- Do not assume DoH makes you anonymous: the sites you visit still know you were there.
- On a work or school network, check the policy before changing DNS settings.
- Keep your browser updated, so you get the latest DoH behaviour and fixes.
- Consider DNS over TLS as well if you want every app on the device protected, not just the browser.
- Test that your chosen resolver answers correctly before relying on it.
- If a site stops loading after a change, check the DNS setting first.
Frequently asked questions
What is DNS over HTTPS in simple terms?
DNS over HTTPS is a way of asking for a website’s address through an encrypted connection, so that nobody watching the network can see which sites you are looking up.
Does DNS over HTTPS make my browsing anonymous?
No. It hides the lookup, but your internet provider can still see the address of the server you connect to, and the website itself still knows you visited. Real anonymity needs more than encrypted DNS.
Is DNS over HTTPS the same as a VPN?
No. A VPN encrypts all of your traffic and hides your destination from your provider. DoH encrypts only the DNS lookup, and only from network observers; the connection to the site is still visible to your provider.
Why do some networks block DNS over HTTPS?
Because it bypasses the DNS-based controls that schools, workplaces, and parents use to block harmful or inappropriate sites. Some networks therefore disable DoH or require their own resolver.
Should I change my DNS over HTTPS resolver?
Only if you have a reason to prefer another one. The default is usually run by the browser maker or a large provider, and changing it means trusting a different organisation with your lookups instead.
Does DNS over HTTPS slow down browsing?
Very little. The browser keeps a connection to the resolver open and reuses it for many lookups, so the extra cost is small and usually unnoticeable.
The bottom line
DNS over HTTPS explained in one line is this: the same address lookup your browser has always made, sent through an encrypted connection so that network observers cannot see which sites you are asking about.
It is a modest but real improvement, especially on networks you do not trust, and it costs nothing to turn on. The honest view is that it protects one piece of the picture, the lookup, and should sit alongside secure websites and good judgement, not replace them.
This article is general information about how DNS over HTTPS works, not advice about choosing a network or privacy setup for a particular situation.







