DNS over HTTPS: What It Is and Why You Should Use It

Every time you visit a website, your browser doesn’t instantly know where to go—it follows a precise process. When you type a domain name like www.example.com, your device sends a request to a Domain Name System (DNS) resolver. The DNS acts like the internet’s phone book, converting human-readable domain names into numeric IP addresses computers use to route your connection to the right server.

Traditionally, this DNS lookup uses unencrypted protocols, which leaves your browsing behavior visible to third parties—network providers, governments, or attackers on open Wi-Fi networks. Even if a site uses HTTPS for secure communication, the initial DNS query still travels in clear text.

With increasing awareness of digital surveillance and data tracking, this gap in privacy protection has become a major concern. DNS over HTTPS (DoH) addresses this vulnerability by encrypting DNS traffic, keeping observers from seeing what websites you're trying to reach. But how does it work in practice, and why does it matter? Read on to find out.

DNS: The Silent Backbone of the Internet

What Does DNS Actually Do?

DNS, or Domain Name System, translates readable domain names like example.com into numerical IP addresses—such as 93.184.216.34—that computers use to identify each other. Without DNS, users would have to memorize complex strings of numbers just to visit their favorite websites.

The Internet’s Phone Book

Think of DNS as a modern phone book for the internet. Instead of linking people's names with telephone numbers, it links web addresses to the IP addresses of web servers. This lookup process allows your device to locate and connect to websites, email services, or any other online service that uses a domain name.

How DNS Servers Handle Your Request

When you enter a web address into a browser, the DNS resolution process begins. Here’s what happens:

The Weakness Built Into Traditional DNS

The standard DNS protocol sends queries in plaintext. No encryption. Anyone on the network path—whether it's your internet service provider, a public Wi-Fi operator, or a more malicious actor—can see the domains you look up. Each lookup is a potential data point for surveillance, logging, or interception.

Risks of Plaintext DNS

Two major vulnerabilities stem from this unencrypted structure:

Every time a user makes a DNS query, it leaves a trace—and with traditional DNS, that trace is wide open.

What Is HTTPS (Hypertext Transfer Protocol Secure)?

HTTPS Overview

HTTPS stands for Hypertext Transfer Protocol Secure. It is the encrypted version of HTTP, the foundational protocol used for data communication between browsers and web servers. HTTPS wraps HTTP with a cryptographic layer using SSL (Secure Sockets Layer) or, more commonly today, TLS (Transport Layer Security). The result is a secure channel that prevents third parties from eavesdropping or tampering with the exchanged data.

Encrypted Communication Through SSL/TLS

When a browser connects to a site over HTTPS, a TLS handshake initiates before any content loads. This handshake establishes session keys and authenticates the server's identity using a digital certificate issued by a trusted Certificate Authority (CA). After authentication, data packets are encrypted using symmetric encryption, meaning only the communicating parties can decipher them. This process adds a marginal computational overhead, but it significantly increases data integrity and privacy.

Benefits of Using HTTPS

HTTPS Protects Data In Transit

Every request and response exchanged over HTTPS is encrypted at the transport layer. For example, when logging into an email service or submitting a form, the entered data travels over an encrypted tunnel. This prevents passive observers, such as attackers on public Wi-Fi networks, from capturing sensitive data by simply monitoring traffic.

Authentication of Websites

Before a secure connection is established, the browser checks the server’s digital certificate. This certificate confirms the domain's ownership and links it to the public key used during the TLS session. The browser shows a padlock icon in the address bar if the certificate is valid and the connection is secure. Invalid certificates trigger browser warnings to users, signaling potential risk.

Limitations of HTTPS

While HTTPS effectively protects web content and secures data during transmission, it does not cover all aspects of online communication. Specifically, it does not encrypt DNS queries. Every time a browser looks up a domain name to find its corresponding IP address, this request often goes out unencrypted—exposing it to monitoring and manipulation. This vulnerability is the gap that DNS over HTTPS is designed to fill.

Enter DNS over HTTPS (DoH): A More Secure Approach

What DNS over HTTPS Actually Is

DNS over HTTPS, abbreviated as DoH, is a protocol designed to perform DNS resolution using the secure, encrypted channels established by HTTPS. Instead of sending DNS queries in plaintext over port 53—as conventional DNS does—DoH wraps these queries within HTTPS traffic, causing them to travel via port 443. This fusion brings DNS into the encrypted web ecosystem, shielding it from surveillance and tampering.

How It Works Under the Hood

DoH operates by embedding DNS queries inside regular HTTPS sessions. When a user’s browser requests the IP address of a domain, instead of forwarding the query to a DNS resolver openly, the DoH-enabled client sends that request over an encrypted HTTPS connection. The request reaches a DoH-compatible resolver like Cloudflare’s 1.1.1.1 or Google’s Public DNS, which replies—also via HTTPS—with the IP address needed.

This mechanism allows DoH traffic to blend in with all other HTTPS activity on a network. Someone monitoring network traffic sees a stream of secured HTTPS data but cannot distinguish which packets correspond to DNS queries. No plaintext. No metadata leakage. No signal to intercept.

What Distinguishes DoH from Traditional DNS

Data Privacy Through Encryption

By encrypting DNS queries, DoH protects against passive eavesdropping and active manipulation. This thwarts techniques like DNS spoofing or man-in-the-middle attacks that rely on intercepting and altering DNS traffic. Internet Service Providers lose visibility into the domain-level destinations users access, meaning they can no longer mine or monetize DNS data in transit.

Moreover, DoH helps maintain user privacy on unsecured networks—think public Wi-Fi in airports or cafés—where attackers often sit between the user and the DNS resolver. With DNS encrypted inside HTTPS, those attackers face obscured traffic that's difficult to parse or redirect.

Combined with HTTPS websites and modern TLS protocols, DoH strengthens the entire browsing session from domain request to content load. For privacy-conscious users and developers building secure applications, this marks a fundamental shift in how domain resolution happens online.

Why You Should Use DNS over HTTPS

Enhanced Security at the Foundation of the Web

DNS over HTTPS (DoH) encrypts DNS queries using the same protocol that secures your connection to websites—HTTPS. This encryption prevents malicious actors from intercepting or modifying the DNS requests that would otherwise travel unprotected. Traditional DNS reads like plaintext. DoH scrambles that data and transmits it through an encrypted tunnel, neutralizing the effectiveness of DNS-based attacks.

Robust Defense Against Man-in-the-Middle Attacks

Attackers frequently rely on man-in-the-middle (MitM) tactics to intercept or alter DNS lookups. DNS spoofing redirects users to phishing or malware-infected domains without their knowledge. DoH eliminates this vulnerability by encrypting requests from the browser or application all the way to the DNS resolver. Without access to unencrypted queries, MitM actors lose visibility and control.

Elevated Privacy Standards in Every Session

Your DNS queries reveal exactly which domains you're trying to access—even if the site itself is encrypted. Traditional DNS exposes that information to Internet Service Providers (ISPs), network administrators, or anyone monitoring DNS traffic. DoH prevents this leakage by encrypting the hostname lookup, closing off a rich source of behavioral browsing data.

Bypassing Content Filters, Firewalls, and Censorship Controls

Encrypted DNS queries resist interception and redirection by institutional firewalls and government content filters. When DNS traffic is indistinguishable from secure HTTPS traffic, blocking it becomes technically and politically more complicated. This resilience makes DoH an effective tool in environments where open access to information is restricted.

Seamless Integration with Privacy-Focused Tools

Modern browsers and privacy-centric applications increasingly support DoH as a core function, not an optional upgrade. Firefox, Chrome, and Edge all offer native DoH capabilities. Some enable it by default. Apps like 1.1.1.1 by Cloudflare and NextDNS combine DoH with advanced filtering and anonymized relay systems, offering a bundle of performance and security improvements without user configuration.

DoH aligns closely with the values of digital minimalism, individual agency, and control over personal data. For anyone choosing tools that honor those principles, enabling DNS over HTTPS is a foundational step.

DNS over HTTPS vs Traditional DNS: Key Differences

Comparing DNS over HTTPS (DoH) with traditional DNS reveals fundamental differences in privacy, security, and performance. Here's a breakdown of where the two approaches diverge and how those differences play out in real-world application.

Encryption

Visibility to ISPs

Resistance to Tampering

Performance Considerations

Each of these differences changes how DNS functions in practice. While traditional DNS prioritizes speed and simplicity, DoH shifts the focus toward privacy and resilience against interception. The trade-offs are measurable—and choosing between them depends on what matters most in a given context.

Does DNS over HTTPS Slow Down Your Browsing?

Latency and Load: Where Do Delays Come From?

DNS over HTTPS (DoH) introduces one additional step: instead of sending DNS queries in plaintext, your browser wraps them in HTTPS and sends the request over an encrypted connection. This can slightly increase latency due to encryption overhead and the need to establish HTTPS handshakes, particularly when using remote DoH servers that are physically or network-wise far from the client.

Older systems or devices with limited processing power may experience marginally longer lookup times. For instance, a 2020 study by APNIC measured DoH performance across multiple resolvers and found that distance plays a measurable role: servers located farther geographically consistently added 20–30 milliseconds per transaction compared to local DNS resolvers.

Smart Optimizations Minimize Delays

Major browsers and DNS resolvers have already engineered around these overheads. Chrome, Firefox, and Edge all support connection reuse for DoH queries, meaning the TLS connection is maintained and repeated handshakes are avoided. This eliminates one of the key latency contributors after the initial request.

On the DNS provider side, companies like Cloudflare, Google, and Quad9 operate global points of presence. They route requests to the nearest edge server using Anycast, which minimizes round-trip times. As a result, most users get responses within a window far narrower than general internet latency fluctuations—often under 10 milliseconds for each query.

Modern Systems See Minimal Performance Impact

On contemporary desktop or mobile systems using browsers with built-in DoH support, the difference compared to standard DNS often becomes indistinguishable. Mozilla's telemetry has shown that Firefox users with DoH enabled experience no measurable degradation in browsing speed. In many cases, response times from uncongested DoH resolvers actually outperform traditional ISP DNS.

When queries are resolved from cache or served via low-latency infrastructure, browsing feels just as responsive. Using a local DoH resolver—like one running on your own router or device—can further compress lookup time, making the performance gap vanish entirely.

Curious to see the differences for yourself? Run a DNS benchmarking tool that supports DoH, such as GRC DNS Benchmark or Namebench with custom configuration.

Browser and Operating System Support for DNS over HTTPS

DNS over HTTPS (DoH) is no longer a fringe privacy enhancement found only in specialized tools. Mainstream browsers and operating systems now support it natively or offer simple ways to enable it. Adoption across platforms continues to grow, making secure DNS a practical reality for everyday users. Here’s how current tools stack up.

Major Browsers with Built-in DoH Support

Operating System-Level Support

DoH's integration at the OS level expands its use beyond browsers to every DNS-enabled app or service. Adoption varies across platforms:

Third-Party Applications with DoH Features

Not all environments rely on native OS features. Several applications and network tools deliver DoH capabilities independently:

Want to see if your current system uses DoH? Type about:networking#dns in Firefox or check chrome://net-internals/#dns in Chrome-based browsers. The results reveal whether encrypted DNS requests are active and which resolvers handle them.

Configuring DNS over HTTPS (DoH) on Your Devices and Browsers

Enabling DoH on your devices physically alters how DNS requests are sent—switching them from easily observable plaintext to encrypted communication. Each platform and browser handles the setup differently, but the process usually takes less than five minutes. Below is a breakdown by device and browser to help configure DNS over HTTPS effectively.

Firefox

Mozilla Firefox includes native support for DoH, allowing configuration entirely within the browser interface:

After enabling the feature, Firefox reroutes all DNS traffic through your chosen encrypted transport instead of the system-level default.

Chrome and Microsoft Edge

Based on Chromium, both Google Chrome and Microsoft Edge manage DoH through a secure DNS option:

Chrome and Edge rely on the operating system’s resolver unless explicitly directed to use a DNS provider that supports DoH.

Android Devices

Android has introduced support for DNS over HTTPS through the Private DNS setting. Here's how to apply it:

Once configured, Android routes all DNS queries—over any connection—using DoH via the selected provider, regardless of the browser used.

iOS Devices

Apple’s mobile operating system does not currently offer native DoH toggles in system settings. To enable DNS over HTTPS on an iPhone or iPad, users must install a configuration profile or use a third-party app:

Once applied, this solution secures DNS traffic across all apps and browsers in the same way Android’s system-wide private DNS does.

Choosing a DoH Provider

Your choice of DNS over HTTPS provider directly influences performance, privacy, and filtering capabilities of your internet connection. Popular options include:

Each provider publishes its DoH endpoint URL, typically in the form of an HTTPS address. For example, NextDNS uses https://dns.nextdns.io/[Your-ID]. Choosing a provider aligned with your privacy stance and browsing needs will shape the DoH experience on your devices.

DNS over HTTPS and the Complex Terrain of Internet Privacy

Data Visibility Shrinks: A Win for User Privacy

DNS over HTTPS (DoH) encrypts DNS requests and tunnels them through HTTPS, shielding them from view by intermediaries such as ISPs or public Wi-Fi providers. This shift effectively eliminates plaintext DNS traffic that could otherwise reveal every domain a user visits. Since these queries are encrypted and blend into regular HTTPS traffic, visibility is reduced not just at the router or ISP level but also in enterprise and public network environments.

Local Network Surveillance Gets Cut Off

Previously, local administrators could monitor DNS queries to track user behavior, enforce network rules, or log visited domains. With DoH in place, such monitoring becomes ineffective. Parental controls, network-based content filters, or corporate compliance systems that rely on traditional DNS monitoring cannot intercept encrypted queries sent over HTTPS. Users gain autonomy over their web activity, independent of the network they’re connected to.

DoH Doesn't Hide Everything: Centralization Matters

While DoH prevents ISPs and local networks from observing DNS traffic, the operator of the DoH resolver gains significant access. For users who opt into a centralized DoH provider—such as Cloudflare, Google, or NextDNS—the decrypted DNS queries remain visible to those entities. These providers can potentially associate DNS activity with IP addresses or other identifiers at their point of receipt, depending on their logging policies.

Aggregated Insights Replace Individual Tracking

Modern DoH providers often claim to anonymize or aggregate request data before use. For example, Cloudflare’s public 1.1.1.1 resolver commits to not logging client IPs and engages independent audits to verify this. What these organizations collect is typically statistical: which domains are most queried, what spikes are occurring, and when. While this data helps optimize performance and prevent abuse, it doesn't necessarily translate to individualized tracking—unless combined with additional user identifiers.

Reflect Before You Reroute

Who should see your DNS traffic: your ISP, your employer, or a cloud service provider offering encrypted resolution? The answer affects not just privacy but also control. When switching to DoH, the shift is not from visibility to invisibility—it's from one observer to another. The choice of resolver determines who, if anyone, can see your domain-level browsing activity.