What Is DNS Over HTTPS (DoH)? Keep Browsing Private

Last Updated: May 30, 2026By
Close up of HTTPS on browser bar

Every time you visit a website, your internet service provider or a nearby hacker on public Wi-Fi can see exactly which domain you are requesting, even if the site itself is fully encrypted. This silent exposure of your browsing habits occurs because the Domain Name System, the directory translating web addresses into IP numbers, still largely operates over unencrypted channels. 

While HTTPS has secured web page content, your initial lookup remains an open book. DNS over HTTPS (DoH) addresses this security gap by wrapping these lookups in the same encryption used for secure web traffic.

Key Takeaways

  • Traditional DNS queries are completely unencrypted, allowing internet service providers, network operators, and local eavesdroppers to track your browsing habits and intercept lookups.
  • DNS over HTTPS secures these queries by wrapping them inside encrypted HTTP/2 or HTTP/3 sessions on Port 443, making lookups blend in with standard secure web traffic.
  • Unlike DNS over TLS, which uses Port 853 and is easily blocked, DNS over HTTPS is difficult to filter because blocking Port 443 would disable access to most secure websites.
  • By hiding DNS traffic from the local network, the protocol can bypass parental filters and corporate firewalls, potentially creating security blind spots for threat monitoring and malware detection.
  • You can enable secure DNS directly inside your web browser settings or configure it system-wide through modern operating system network configurations.

The Vulnerabilities of Traditional DNS

Traditional network designs prioritize speed and functionality over secure communication. When the internet was first built, the engineers behind the Domain Name System focused on creating a fast, reliable directory to point computers to the right servers.

Because security was not a primary concern at the time, these foundational lookups were left completely exposed, creating structural vulnerabilities that persist in modern networks.

The Plaintext Nature of Port 53

Standard DNS queries run over Port 53 using simple protocol formats, primarily User Datagram Protocol. Because these transmissions are sent as plaintext, they lack any form of encryption or cryptographic signature.

Any router, switch, or intermediary device that handles the packet as it travels from a home computer to a remote server can read the requested website address. This open design means that your network requests are visible to any observer positioned along the network pathway.

Eavesdropping and ISP Tracking

This lack of encryption makes it simple for third parties to track online behavior. Internet service providers routinely log DNS requests to compile detailed records of user activity, which can be stored, analyzed, or sold to advertisers.

On public networks, such as those found in coffee shops or airports, anyone connected to the same local area network can use basic packet-sniffing tools to monitor the websites you are attempting to visit, creating a significant profile of your personal interests and daily routines.

Tampering and Spoofing Attacks

Beyond simple surveillance, unencrypted DNS traffic is highly susceptible to modification. In a DNS hijacking or man-in-the-middle attack, a malicious actor intercepts a query and returns a false IP address.

Because the client computer has no way to verify the authenticity of the response, it trusts the fake destination. This allows attackers to redirect unsuspecting users to fraudulent clones of banking sites, login portals, or email services without raising obvious security warnings in the browser.

Technical Mechanics of DNS over HTTPS (DoH)

Woman browsing on a smartphone indoors

Securing the resolution process requires a shift in how network requests are formatted and transmitted. DNS over HTTPS directly addresses traditional vulnerabilities by applying the same cryptographic protections used to secure standard web browsing.

By transforming lookup requests into encrypted web traffic, the protocol ensures that the domain names you visit remain confidential throughout their transit.

Integration with the HTTPS Protocol

DoH functions by wrapping standard DNS queries inside HTTP/2 or HTTP/3 sessions, which are encrypted using Transport Layer Security. Instead of sending a raw, unencrypted UDP packet directly to a server, the operating system or browser packages the DNS query as an encrypted HTTP request.

The DoH-compatible resolver receives this request, decrypts it, finds the correct IP address, and sends the response back through the same secure, encrypted HTTP tunnel.

The Port 443 Advantage

By using standard HTTPS, DoH traffic is sent over Port 443, the same port used for secure web browsing, online shopping, and banking. Because this traffic looks identical to standard web activity, network firewalls and intermediaries cannot easily distinguish a DNS lookup from a normal webpage loading.

This makes it extremely difficult for network operators to block or throttle DNS requests without disabling secure web traffic entirely, ensuring reliable access to the open web.

The DoH Resolution Flow

The resolution process begins when a user types a web address into a browser. If DoH is active, the browser bypasses the default operating system resolver and sends an encrypted HTTP request to a configured DoH resolver over Port 443.

This resolver performs the lookup, retrieves the IP address, and sends it back to the browser inside an encrypted HTTP response. Once decrypted, the browser can securely initiate a connection to the destination server.

Comparing DoH and DoT (DNS over TLS)

Hand using white mouse next to numeric keypad

Although DoH is a prominent method for securing network lookups, it is not the only standard designed to encrypt this traffic. DNS over TLS (DoT) is another widely supported protocol with similar cryptographic goals but a very different implementation strategy.

Architectural Differences

The primary difference between the two standards lies in their choice of network ports and protocols. DoH integrates directly with web traffic over Port 443, utilizing the complexity of HTTP.

In contrast, DoT bypasses HTTP entirely and applies TLS encryption directly to DNS packets over a dedicated port, Port 853. This architectural difference makes DoT a more streamlined, single-purpose security layer, whereas DoH acts as an extension of standard web protocols.

Network Visibility and Control

Because DoT operates on its own dedicated port, it is highly visible to network administrators. Firewalls can easily isolate and block traffic on Port 853 to prevent encrypted DNS from bypassing local network policies.

DoH, however, blends in with standard web traffic on Port 443. Blocking DoH requires administrators to employ deep-packet inspection or maintain massive blacklists of known DoH servers, which can easily lead to blocking legitimate websites that share those IP ranges.

Privacy vs. Auditability

This difference in visibility creates a natural tension between user privacy and organizational control. For individual users on untrusted networks, DoH offers stronger protection against local monitoring and censorship.

For enterprises, however, DoT is often preferred because it allows security teams to audit network traffic, enforce company-wide security policies, and ensure that malicious requests are blocked before they leave the corporate network.

Key Challenges and Trade-offs of DoH

Popular web browser logos on purple background

While encrypting name resolution dramatically improves user privacy, it also disrupts established safety and security frameworks. The ability of DoH to hide lookups from local network infrastructure can create significant complications for network administrators, parental controls, and broader cybersecurity efforts.

Disruption of Enterprise Security

In corporate environments, security teams rely on monitoring DNS traffic to detect signs of compromise, such as malware communicating with command-and-control servers. When employee devices use DoH to bypass the company’s internal DNS servers, these security tools are blinded.

This hidden communication channel makes it easier for malware to operate undetected, download malicious payloads, or quietly exfiltrate sensitive company data without triggering network alarms.

Bypassing Local and Parental Filters

Many home routers and local network setups use DNS redirection to block inappropriate content, malicious websites, or distracting advertisements. Traditional parental control software often works by filtering requests at the local DNS level.

Because DoH bypasses these local servers and encrypts the queries, it completely circumvents these consumer-grade filters, rendering local safety rules ineffective and exposing household devices to unfiltered internet content.

The Centralization Debate

By default, major browsers that implement DoH tend to steer traffic toward a small group of large, public DNS providers, such as Cloudflare, Google, or Quad9. This shift consolidates a vast portion of global internet routing data into the hands of a few corporate entities.

While these providers offer strong security, this centralization raises concerns about data aggregation, single points of failure, and the erosion of the distributed nature of the internet.

Implementation and Configuration Guidelines

Person using Windows laptop near a bright window

Adopting encrypted name resolution requires proper setup across browsers, operating systems, and managed networks. Because support for DoH is distributed across different layers of software, configuring it correctly ensures that your devices maintain a consistent security posture.

From managing a single personal device to administering an entire corporate fleet, several configuration paths are available.

Browser-Level Configuration

Enabling secure DNS directly inside your web browser is the quickest way to protect web traffic. This configuration only secures the traffic generated inside that specific browser.

Google Chrome

  1. Click on the three-dot menu in the upper-right corner and select Settings.
  2. Select Privacy and security from the left sidebar, then click on Security.
  3. Scroll down to the Advanced section and toggle on Use secure DNS.
  4. Select the With option and choose a preferred provider like Cloudflare (1.1.1.1) or Google (8.8.8.8) from the drop-down menu, or enter a custom resolver URL.

Mozilla Firefox

  1. Click the menu button (three horizontal lines) in the upper-right corner and open Settings.
  2. Select Privacy & Security from the left menu and scroll down to the DNS over HTTPS section.
  3. Select either Increased Protection or Max Protection. Under Increased Protection, Firefox uses secure DNS but falls back to standard DNS if there is an issue. Under Max Protection, Firefox strictly uses secure DNS and will block pages if the lookup fails.
  4. Select your preferred provider (such as Cloudflare or NextDNS) from the dropdown list, or choose Custom to enter another provider’s address.

Microsoft Edge

  1. Open the three-dot menu in the upper-right corner and select Settings.
  2. Select Privacy, search, and services from the left sidebar.
  3. Scroll down to the Security section and turn on Use secure DNS to specify how to lookup the network address for websites.
  4. Select Choose a service provider and select a pre-configured provider from the list, or enter a custom service URL in the text field.

Operating System Integration

System-wide configuration ensures that all application traffic, not just web browser traffic, goes through an encrypted channel. Modern operating systems support this encryption natively or via configuration profiles.

Windows 11

  1. Open the Settings app and navigate to Network & internet.
  2. Click on Wi-Fi or Ethernet, depending on your active internet connection.
  3. Click on the active connection properties, scroll down to DNS server assignment, and click Edit.
  4. Change the setting from Automatic (DHCP) to Manual and toggle on IPv4.
  5. Enter a DoH-compatible IP address (like 1.1.1.1 or 9.9.9.9) in the Preferred DNS field.
  6. Under the Preferred DNS encryption dropdown, select Encrypted only (DNS over HTTPS) and click Save.

Android (Version 9 and newer)

  1. Open Settings and go to Network & internet (or Connections).
  2. Select Private DNS (often found under Advanced or More connection settings).
  3. Select Private DNS provider hostname.
  4. Type the hostname of your secure DNS provider, such as cloudflare-dns.com or dns.google, and tap Save.

macOS and iOS

  1. Apple operating systems handle system-wide secure DNS through Configuration Profiles rather than manual settings menus.
  2. Download a trusted secure DNS profile (a .mobileconfig file) from a trusted provider like Quad9, Cloudflare, or NextDNS.
  3. On macOS, double-click the downloaded file, open System Settings, search for Profiles, select the downloaded profile, and click Install.
  4. On iOS, open Settings right after downloading the profile, tap Profile Downloaded at the top of the screen, and follow the prompts to install.

Enterprise Management and Policy Control

Enterprise administrators must maintain network visibility and security enforcement, which requires managing how employee devices use DoH.

Group Policy Objects (GPO)

  1. Administrators can use GPO templates to disable browser-level secure DNS settings in Google Chrome, Microsoft Edge, and Mozilla Firefox across all managed Windows machines.
  2. In the Group Policy Management Editor, navigate to the administrative templates for your browser (for example, Administrative Templates > Google > Google Chrome).
  3. Locate the policy named Configure the Built-in DNS Client over HTTPS (DoH) and set it to Disabled to prevent employees from bypassing local network filters.

Mobile Device Management (MDM)

  1. For mixed device environments, administrators use MDM platforms like Microsoft Intune or Jamf to deploy custom configuration profiles.
  2. These profiles force corporate-owned macOS and iOS devices to route their DNS queries to specific, auditable secure resolvers managed by the company.

The Canary Domain Check

  1. Browsers like Firefox check for a specific “canary domain” before enabling DoH on a local network.
  2. Administrators can configure their local DNS servers to return a no such domain (NXDOMAIN) or error response for the domain use-application-dns.net.
  3. When Firefox receives this response, it recognizes that local network policies are active, automatically disables DoH, and falls back to the system’s local DNS server to preserve network monitoring.

Conclusion

The shift toward encrypted name resolution represents a major advancement in safeguarding user privacy. By hiding lookups from immediate local observers, DNS over HTTPS successfully protects individuals from eavesdropping and data profiling on public and home networks alike.

However, this same encryption creates a paradox by stripping network administrators of their ability to monitor and filter internal traffic. This blind spot can hinder corporate security monitoring and bypass parental controls, demonstrating that stronger privacy often complicates administrative oversight.

As encrypted protocols become standard across browsers and operating systems, organizations and individuals must modify how they protect their networks. Security is no longer about blocking unencrypted traffic at the perimeter; it requires deploying adaptive solutions like enterprise management policies or dedicated decryption proxies.

Adapting to this secure baseline ensures that privacy does not come at the expense of necessary network defense.

Frequently Asked Questions

How do I know if my browser is already using DNS over HTTPS?

You can check your browser’s security or privacy settings to see if secure DNS is already enabled. Most modern browsers like Google Chrome, Mozilla Firefox, and Microsoft Edge have this feature active by default or offer a toggle. You can also run an online connection test to verify your encryption.

Does using this protocol make my virtual private network useless?

No, a virtual private network remains highly useful because it encrypts all of your internet traffic, whereas DNS over HTTPS only encrypts domain name queries. While the protocol protects your initial lookup, a virtual private network secures your IP address, physical location, and actual data payloads. Using both technologies together provides a more robust defense.

Will turning this on slow down my internet connection speed?

No, you will not notice a decrease in internet speed under normal browsing conditions. Although encrypting the queries adds a tiny amount of overhead, modern web technologies like HTTP/2 keep this delay imperceptible. In some cases, using a fast public resolver can actually speed up your connection compared to slow default servers.

Can my school or employer block me from using secure DNS?

Yes, network administrators can block secure DNS by disabling it on managed devices or blocking known resolver addresses. Organizations often do this to enforce local safety policies, filter harmful websites, and monitor networks for malware. On devices you do not own, administrators use centralized policies to force standard, auditable lookup routes.

Does DNS over HTTPS hide my web browsing from everyone?

No, this protocol only hides the initial lookup of the website name, not your entire browsing activity. Your internet service provider can still see the IP address of the destination server you connect to after the lookup is complete. To hide your full traffic and IP destination, you need to use a virtual private network.

About the Author: Julio Caesar

5a2368a6d416b2df5e581510ff83c07050e138aa2758d3601e46e170b8cd0f25?s=72&d=mm&r=g
As the founder of Tech Review Advisor, Julio combines his extensive IT knowledge with a passion for teaching, creating how-to guides and comparisons that are both insightful and easy to follow. He believes that understanding technology should be empowering, not stressful. Living in Bali, he is constantly inspired by the island's rich artistic heritage and mindful way of life. When he's not writing, he explores the island's winding roads on his bike, discovering hidden beaches and waterfalls. This passion for exploration is something he brings to every tech guide he creates.