Before your browser can load a website, it has to ask a question: what is the address of this name? That question is a DNS lookup, and for most of the web's history it has been sent in plain text, readable by anyone along the way. Encrypted DNS fixes that. This article explains what DNS is, who can see an ordinary lookup, how DNS over HTTPS changes things, and where its protection ends.
What DNS does
Computers find each other by number. A name such as example.com is for people. The Domain Name System, or DNS, is the directory that turns the name into the numeric IP address a browser can connect to.
The lookup is done by a server called a resolver. Unless you have changed it, your resolver is whichever one your network hands you: at home that normally means your internet provider's, at work your employer's, in a cafe whatever the Wi-Fi was set up with. Your device asks, the resolver answers, and the answer is remembered for a while so the question does not have to be repeated on every click.
Who can see an ordinary DNS lookup
Traditional DNS has no encryption. The question and the answer cross the network as readable text. That gives three parties a view of the names you look up:
- Anyone on the path, such as the operator of the Wi-Fi you are using or your internet provider, can read the lookups as they go by.
- The resolver itself sees every lookup, because answering them is its job.
- Someone able to interfere with the network can change the answers, sending a name to a different address or making it fail to resolve. This is how some networks block sites.
Notice what this means for HTTPS. The padlock protects what you send to a site and what it sends back. It does not protect the lookup that happened before the connection existed. A page can be fully encrypted while the fact that you went there is not.
DNS over HTTPS and DNS over TLS
Encrypted DNS wraps the lookup in the same kind of encryption that protects web pages. There are two common ways to do it.
| Protocol | How it travels | What that means |
|---|---|---|
| DNS over TLS (DoT) | An encrypted connection on its own dedicated port. | Private, but a network can tell that it is DNS and block it. |
| DNS over HTTPS (DoH) | Inside ordinary HTTPS, on the same port as secure websites. | Private, and hard to tell apart from other web traffic. |
Both give you the same two benefits. People on the path can no longer read which names you look up, and they can no longer alter the answers without it being detected. DoH is the one browsers tend to use, because it works on almost any network that lets you browse at all. The standard that defines it is RFC 8484.
What encryption hides, and what it does not
Encrypted DNS closes one gap. It helps to be clear about the gaps that remain.
- The IP addresses you connect to are still visible. After the lookup, your device connects to the address it was given, and your network can see that address. For a site with its own servers, the address identifies the site. For a site on a large shared hosting service it says less.
- The site name usually still appears once. When a secure connection starts, the browser normally states the name of the site it wants, in a field called SNI, before encryption begins. A newer technology, Encrypted Client Hello, is designed to close this, but it is not yet in use everywhere.
- The resolver still sees everything. Encryption protects the lookup on its way to the resolver. The resolver itself has to read the question in order to answer it.
So encrypted DNS is not a way to hide your browsing from your internet provider, and it is not a substitute for a VPN or Tor. It removes the easiest and most complete record of where you go, and it stops lookups from being tampered with. For anything stronger, see what a proxy, a VPN and Tor each hide.
Choosing a resolver is a trust decision
Turning on encrypted DNS means choosing who answers your lookups. You are moving that knowledge from your network's resolver to one you picked, so it is worth a minute of thought.
- Privacy policy. What does the provider log, for how long, and does it share or sell any of it? Public resolvers publish this.
- Filtering. Some resolvers refuse to resolve names known for malware, advertising or adult content. That is a feature if you want it and a surprise if you did not expect it.
- Speed. The fastest resolver depends on where you are and which network you are on. The only way to know is to measure.
- Where the lookups pile up. Using the same large provider as millions of other people is convenient. It also concentrates a great deal of browsing data in one place.
There is no single right answer. Your internet provider's resolver is not automatically worse than a public one. The difference is that with encrypted DNS the choice is yours, and nobody between you and the resolver gets a copy.
What Vela offers
Vela has encrypted DNS built in, using DNS over HTTPS. On the Mac it is under Settings → Network → DNS, and on iPhone and iPad under Settings → Network → DNS Resolver.
The Provider menu starts on System (Local Computer), which leaves lookups to your device and network as usual. The other choices send Vela's lookups over DoH to one of eight public resolvers: Cloudflare, Google Public DNS, Quad9, AdGuard DNS, OpenDNS, CleanBrowsing, NextDNS and Control D.
Because speed depends on where you are, Vela measures it for you. The setting shows the selected provider's response time in milliseconds, and you can test every provider at once and compare them before deciding.
Three things to know about how it behaves:
- It applies to Vela's tabs only. Other apps on your device keep using the system's DNS.
- If a tab is going through Tor or a proxy, that route takes priority and handles the lookups instead.
- A profile can have its own DNS provider, separate from the general setting.
The step-by-step version, including how to read the speed test, is in how to set up encrypted DNS in Vela. For the other half of a private connection, read what HTTPS-First does.