Standard DNS queries travel over UDP or TCP on port 53 in plaintext. Anyone on the network path, your ISP, a router, a network monitoring device, can see every domain you look up. DNS over HTTPS (DoH) encrypts those queries inside standard HTTPS connections, making them indistinguishable from ordinary web traffic and invisible to passive observers.
Every website you visit starts with a DNS lookup. Before your browser connects to a server, it asks a resolver: "what's the IP for this domain?" That query, and the response, travels in plaintext by default. Your ISP logs every domain you look up. Public Wi-Fi operators can see your browsing habits at the DNS level. Attackers on a shared network can observe or manipulate your DNS queries.
This is true even if the websites you visit use HTTPS. DNS happens before the HTTPS connection is established, and it's entirely unprotected by the TLS encryption of the web session itself.
DNS over HTTPS wraps DNS queries inside HTTPS requests sent to a DoH resolver endpoint. The query goes out on port 443 alongside ordinary web traffic. To anyone monitoring the network, it looks like normal HTTPS, they can see you're connecting to the resolver (e.g. Cloudflare's 1.1.1.1), but not what DNS queries you're making.
DoH protects against:
DoH does not hide what IP addresses you subsequently connect to. Your ISP can still see those. For complete traffic privacy you'd need a VPN or Tor on top of DoH.
DoT is the other major encrypted DNS protocol. Both encrypt DNS traffic, but they differ in how:
For end users, DoH is generally more practical: it's natively supported by major browsers, harder for restrictive networks to block, and available from the same providers. DoT is more appropriate for system-level implementations where network admins want to explicitly allow encrypted DNS while being able to monitor or filter it.
Common DoH resolver URLs:
Firefox has supported DoH since 2020 and was one of the first browsers to enable it by default for US users.
Browser-level DoH only protects DNS queries made by that browser. Other applications (email clients, terminal tools, other browsers) still use the system DNS. To cover all traffic, configure DoH at the OS level.
1.1.1.1).1.0.0.1).macOS doesn't have a built-in DoH setting as of Sonoma. Options include:
Enabling DoH shifts your DNS queries from your ISP's resolver to a DoH provider. You're trading ISP visibility for the DoH provider's visibility. Cloudflare (1.1.1.1) and Google (8.8.8.8) both publish privacy policies stating they don't log or sell query data, but that's a policy commitment rather than a technical guarantee.
On corporate or managed networks, DoH can bypass DNS-based security controls intentionally applied by the IT team, content filtering, malware domain blocking, and network monitoring tools that rely on DNS visibility. Check with your IT department before enabling DoH on work devices or company networks. Most enterprise security teams have legitimate reasons for controlling DNS resolution.
For home users and personal devices, DoH is a clear privacy improvement with minimal downsides.
HostBible hosting includes free SSL on all plans, encrypting traffic between your visitors and your site. Register your domain with us for complete control.
Register a Domain