What Is DNS over HTTPS (DoH)?

Person using a laptop to search the internet and enter a website address in a browser

Typing “Google” or “Carmax” into your browser isn’t necessarily something you think much about, but on the backend, what your computer is actually doing is translating Google.com or Carmax.com into an IP address that it can understand. 

That translation happens through the Domain Name System (DNS). 

Typically, your DNS requests are out in the open, traveling across the internet as plain text that your internet provider, and anyone else watching that connection, can easily see. DNS over HTTPS (DoH) changes that by encrypting your requests, making them much harder for others to see.

This is a breakdown of how DoH works, how it compares to DNS over TLS (DoT), and why these acronyms actually matter in your life! 

Person working on laptop with icons representing Domain Name System management

What Is DNS over HTTPS (DoH)?

DNS over HTTPS (DoH) is a protocol that takes your DNS lookups and encrypts them through an HTTPS connection instead of sending them out in plain text. It was created specifically to improve on traditional DNS by keeping your browsing history secure. 

DoH works by riding on the same secure connection your browser already relies on for secure sites, so your request looks identical to any other HTTPS traffic. The core idea behind DoH is that it doesn’t just encrypt the lookup – it actually makes it indistinguishable from the rest of your browsing. 

How Does DNS over HTTPS Work?

Invisible to the user, DNS over HTTPS works behind the scenes in stages.

First, you type a URL in your browser. Your browser, instead of relaying the request in plain text like traditional DNS, encrypts the information and sends it to a DoH resolver, which is a DNS server built specifically to handle encrypted requests. Google, Quad9, and Cloudflare all run public ones.

The resolver then decrypts the query, looks up the site, encrypts its answer, and sends it back. Your browser decrypts that response, gets the IP address, and loads the page.

It sounds involved, but the entire round trip takes milliseconds. You won’t notice what’s happening in the background, but a lookup that once was accessible to anyone watching the network is now encrypted along with everything else.

DNS over HTTPS (DoH) vs. DNS over TLS (DoT): What’s the Difference?

DoH and DoT are close cousins, encrypting DNS queries and solving the same core privacy problem in different ways. 

The port distinction is basically that DoH runs over port 443, just like regular HTTPS traffic, while DoT runs over port 853, its own dedicated port. 

The practical consequence of that difference in ports is this: 

  • DoH shares a port with normal web traffic, so it blends in. It’s difficult for networks, enterprise security software, or parental control tools to isolate and monitor.
  • DoT has its own dedicated port, making it easier to identify, manage, and block or allow at the network level. For businesses that need visibility into DNS traffic, this is clearly the more practical solution. 

Neither one is necessarily better than the other. Ultimately, it comes down to what you’re optimizing for. 

DoH’s biggest appeal for some is that it blends into normal traffic, which is exactly what makes it harder for network admins to monitor. 

On the other hand, DoT’s isolation is easier to control at the network level, but by design, less invisible than DoH.

That tradeoff tends to differentiate users into two camps. DoH is utilized most often at the individual level, built into browsers like Firefox and Chrome for people who want privacy without having to touch network settings. 

Business and enterprise settings are more likely to utilize DNS over TLS (DoT), because IT teams generally want DNS traffic encrypted across an entire network, with the ability to still monitor and manage it centrally.

Whichever protocol fits your needs, the basic goal is the same: keeping DNS traffic out of plain text.

Cybersecurity shield protecting online data and encrypted information

Why Use Encrypted DNS?

The case for encrypted DNS is really about two things: who will lose visibility into your browsing, and what they will lose the ability to do with that information.

  • Privacy from your ISP. Without encryption, your internet service provider can see a running list of every site you visit through your DNS requests alone, even if they can’t see what you did once you got there. Encrypted DNS prevents that. 
  • Protection on public Wi-Fi. Airport networks and coffee shops are prime spots for snooping, since anyone who is on the same network can potentially watch unencrypted traffic. Encrypted DNS keeps lookups private even on networks you don’t trust. (If you’re serious about public Wi-Fi safety, pairing this with a VPN covers even more ground; DoH protects your DNS lookups specifically, while a VPN encrypts your entire connection.)
  • Resistance to DNS spoofing. Unencrypted DNS can be intercepted and manipulated, redirecting you to malicious sites without your knowledge. Encryption makes that kind of tampering a lot harder to pull off.

Does DoH Have Any Downsides? 

DoH isn’t necessarily a perfect solution. It’s worth being aware of these two issues where the gaps show up. 

Your DoH provider can still see your queries. Encryption will hide DNS lookups from your ISP and anyone else on the network, but the resolver you’re using, whether that’s Google, Cloudflare, or another provider, still processes the request in the clear on its end. Visibility is not eliminated – it is shifted. 

It can complicate content filtering. Parents and businesses that rely on network-level tools to block certain sites often do so by monitoring DNS traffic. Because that traffic is encrypted by DoH, it can bypass those filters entirely, sometimes without anyone realizing it’s happening. (If parental controls or router-level security matter to your setup, that’s worth a closer look before you enable DoH broadly.)

How to Turn On DNS over HTTPS 

The good news is that you don’t need to be a network administrator to turn on DoH. You won’t need anything beyond your browser or system settings

Chrome: Go to Settings, then Privacy and Security, then Security. Scroll to Advanced, “Use secure DNS,” and toggle it on. Chrome lets you pick a specific provider or defaults to your current one if it supports DoH.

Firefox: Go to Settings, then Privacy & Security, and scroll down to DNS over HTTPS. Check “Enable DNS over HTTPS,” then choose “Max Protection” for the strongest setting.

Windows 11: Go to Settings, then Network & Internet. Select your Wi-Fi or Ethernet connection, edit the DNS server settings by switching to Manual, enable DNS over HTTPS for your preferred provider, and save your changes. 

Once enabled, there’s nothing else to manage. Your device handles the encryption automatically every time it looks up a site.

If you’re on a different operating system or browser, most current versions of Edge, Safari, and Android support DoH as well, usually tucked into a similar network settings menu.

Frequently Asked Questions

Is DNS over HTTPS the same as a VPN?

No. The two aren’t competing tools, and plenty of people run both at once for broader coverage. DoH only encrypts DNS lookups, whereas a VPN hides your IP address and encrypts your whole connection. 

Does DoH slow down my internet?

No, DoH does not noticeably slow down your internet. The encryption process adds milliseconds, and that’s often offset by fewer redirects and less DNS hijacking overall.

Should I enable DoH or DoT?

It depends on your setup. DoT tends to fit network admins and businesses who need encryption across an entire network while keeping some visibility and control, whereas DoH tends to fit individual users who want browser-level privacy without touching network settings. 

Can my ISP still see my browsing with DoH on?

Mostly, no. DoH is a definite privacy improvement, but it’s not the same as being fully invisible to your ISP. DoH encrypts your DNS lookups, so your ISP can’t easily see which domain names you’re requesting. That said, they can still see the IP addresses your device connects to, which sometimes narrows down which site you’re on, especially if that site doesn’t share its IP with others. 

Making the Switch

DoH is a worthwhile privacy upgrade, but it’s only one piece of the puzzle. And unlike a lot of privacy fixes, this one doesn’t ask much of you: a few clicks, and you’re done. No ongoing settings to babysit, no software to keep updated.

Small habits, stacked together, tend to do more than any single tool ever could on its own. Using DoH, connecting through a VPN when it makes sense, keeping your browser updated, and paying attention to the information you share online are smart choices you can make to achieve online security.