What Is DNS-over-HTTPS? Should You Enable It?

Every time you visit a website, your device asks a DNS resolver where that site lives. Traditionally that question travels in plain text, visible to anyone on the network path. DNS over HTTPS wraps the question in the same encryption your browser uses for web pages. This guide explains what DNS over HTTPS changes, what it does not change, and whether you should enable it.

What DNS over HTTPS actually does

DNS over HTTPS, usually shortened to DoH, sends DNS queries over an encrypted HTTPS connection to a resolver that supports it, instead of sending them as plain UDP packets to your network’s default resolver. The practical effect is that a local eavesdropper, such as someone on the same public Wi-Fi, can no longer read or tamper with your DNS lookups. It does not hide which sites you visit from your internet provider entirely, since the provider still sees the IP addresses you connect to, and it does not hide your traffic from the resolver you choose. Think of it as sealing one envelope in a stack of mail: the contents of that envelope are private, but the address on the outside of the package is still visible.

DNS over HTTPS vs DNS over TLS: choosing a DNS resolver

DNS over TLS, or DoT, encrypts the same queries over a dedicated port, while DoH carries them inside normal HTTPS traffic on port 443. That difference matters on managed networks. DoT is easy to identify and block, which network admins sometimes want for filtering, while DoH blends in with web traffic and is harder to filter without deeper inspection. For a home user the difference is small; for a company network it is the whole argument. Companies that filter malicious domains at the DNS layer often prefer DoT or a managed resolver, because DoH lets a browser bypass the company resolver silently. If you manage a team network, decide the resolver policy first, then pick the protocol that enforces it. Our comparison of DNS filtering services for teams covers resolvers that combine encryption with filtering.

Should you enable DNS over HTTPS?

For most home users and remote workers, yes, with one condition: choose a resolver you trust. Browsers now offer DoH with a short list of well-known resolvers, and enabling it takes a minute in the browser settings. The gain is real on untrusted networks such as cafes, hotels, and airports, where plain DNS is easy to snoop or spoof. The cost is that you move trust from your internet provider’s resolver to the resolver you pick, so read its privacy policy before switching. If you already use a VPN, the benefit shrinks, because the VPN tunnel already hides your DNS queries from the local network; check whether your VPN routes DNS through its own resolver first. For background on how DNS resolution works before encryption enters the picture, read how DNS TTL and caching really work and DNS records explained.

Where DNS over HTTPS falls short

DoH is not a privacy cloak. Your resolver sees every query, your provider can often infer destinations from IP addresses and traffic patterns, and the sites you visit still see your visit. Another limit is troubleshooting: when DNS breaks, encrypted queries are harder to inspect, so support teams lose a diagnostic tool they relied on for years. If you run a network others depend on, keep a way to test plain DNS on a diagnostic machine even after enabling DoH everywhere else, and document which resolver each device uses so a failure points somewhere useful instead of nowhere.

It also does not stop phishing on its own: a perfectly encrypted lookup for a lookalike domain still takes you to the lookalike site. Pair DoH with the habits that catch what encryption cannot, such as checking URLs before signing in and learning how to spot a phishing email. On a company network, an employee enabling DoH against policy can also break filtering and logging the company relies on, so the right answer there is a managed decision, not a personal toggle.

Enabling encrypted DNS without breaking your network

Enable DoH in one browser first and use it for a day before rolling it out everywhere. In short, encrypted DNS hides the question, not the destination: your chosen DNS resolver still sees every lookup, so pick one with a privacy policy you trust, and check whether it logs queries or shares them with third parties. If you run a home server or a small office network, set the resolver at the router level instead of per browser, so every device benefits and nobody can silently opt out by switching browsers.

Watch for internal sites that fail to resolve, captive portals that behave oddly, and parental or content filters that stop working; those are signs your network depended on plain DNS in ways DoH bypasses. If something breaks, switch that browser back or add an exception for the local domain. For a household or small team, the simplest stable setup is DoH at the browser level with a resolver you trust, plus a VPN on untrusted networks. That combination seals the DNS envelope and the traffic behind it, without asking anyone to become a network engineer.

Ditulis oleh

Firdaus Safari Putra

Founder, PT FirKaizen Digital Solutions

Firdaus Safari Putra adalah founder PT FirKaizen Digital Solutions. Ia membangun dan mengoperasikan infrastruktur server di balik panduan ini, dan menulis berdasarkan apa yang benar-benar ia jalankan, uji, dan ukur — bukan teori.