CELLHUBS.APP
Language: EN
Explore apps

DoH vs DoT vs DoQ: Encrypted DNS Explained (and Which to Use)

· guide · secure dns · doh · dot · doq · privacy

Every time you open an app or a website, your device first asks a question: what is the IP address of this domain? That question is a DNS lookup, and for decades it has been sent in plain text. Anyone on the path, from the café Wi-Fi to your ISP, can read it, log it, and in some cases answer it with a fake address.

Encrypted DNS fixes that. There are three main ways to do it, DoH, DoT and DoQ, and this guide explains how they differ and how to turn them on.

Why plain DNS is a problem

Classic DNS sends queries over UDP port 53 with no encryption and no authentication. That creates three risks:

  1. Visibility. Your network operator can see every domain you look up, even if the site itself uses HTTPS.
  2. Tampering. A network can reply with a wrong IP, for example to show a block page, inject ads or redirect you to a phishing copy of a site.
  3. Spoofing on shared networks. On public Wi-Fi, an attacker on the same network can try to forge answers.

Encrypting DNS keeps the question and the answer private between you and the DNS resolver you chose, and lets your device verify it is talking to the real resolver.

The three protocols

DoH: DNS over HTTPS

DoH (standardised in RFC 8484) wraps DNS queries inside ordinary HTTPS requests on port 443.

DoT: DNS over TLS

DoT (RFC 7858) sends DNS queries over a TLS connection on its own port, 853.

DoQ: DNS over QUIC

DoQ (RFC 9250) carries DNS over QUIC, the UDP-based transport behind HTTP/3.

Quick comparison

DoHDoTDoQ
TransportHTTPS (TCP or HTTP/3)TLS over TCPQUIC over UDP
Usual port443853853
Hard to blockMostLeastMedium
Built into AndroidNot as the main optionYes (Private DNS)No
Provider supportWideWideGrowing

Which should you choose? If your network leaves port 853 alone, any of them is fine. If you are on a restrictive network, DoH is the most likely to work. The best setup is one that falls back automatically when one protocol or server is blocked.

Choosing a DNS provider

Encryption only protects the trip. The resolver at the other end still sees your queries, so pick one whose policy you are comfortable with. Common public options include Cloudflare (1.1.1.1), Google Public DNS (8.8.8.8) and Quad9 (9.9.9.9), which also blocks domains known to be malicious. Each has its own privacy policy, worth a quick read. You can also run your own resolver.

How to turn on encrypted DNS

Android (built-in)

  1. Open Settings → Network & internet (wording varies by brand).
  2. Find Private DNS.
  3. Choose Private DNS provider hostname and enter a DoT hostname, for example one.one.one.one or dns.google.

This covers DoT only, and if the hostname becomes unreachable, some phones show “no internet” instead of falling back.

Windows 11

In Settings → Network & internet → (your connection) → DNS server assignment → Edit, set a supported DNS server address and switch DNS over HTTPS on.

Browsers

Chrome, Edge and Firefox have a Use secure DNS (or DNS over HTTPS) option in their privacy settings. This only protects lookups made by that browser, not your other apps.

With an app (all apps, all protocols)

A local VPN app can encrypt DNS for every app on the device, let you pick DoH, DoT or DoQ, and switch to a backup server automatically. That is what GreenTunnel VPN does:

Because it is a local VPN, your queries go from your device straight to the provider you chose. GreenTunnel never collects your DNS queries; they stay on your device apart from the lookup sent to your chosen resolver. If you also set Android’s Private DNS, the two can interact, so it is simplest to let one of them handle DNS.

What encrypted DNS does not do

Always use these tools within the laws and network rules that apply where you live.

Bottom line

Switching from plain DNS to DoH, DoT or DoQ is one of the easiest privacy upgrades you can make, and it stops a whole class of fake-answer attacks. DoH is the most robust on restrictive networks, DoT is built into Android, and DoQ is the fastest-growing option.

Want all three with automatic fallback, for every app? Try GreenTunnel VPN for free on Android, Windows or Linux.

How to install GreenTunnel VPN

  1. Android: Open Google Play, search for “GreenTunnel VPN” or tap the Google Play badge below, then tap Install. Updates arrive automatically through Google Play.
  2. iPhone / iPad (beta): The iOS version is in beta on TestFlight. Install Apple’s TestFlight app from the App Store, then open the TestFlight link below on your iPhone and tap Accept → Install. If the beta is full, check back later.
  3. Windows: Download the installer (.msi) from the official download page via the badge below, open it and follow the setup wizard.
  4. Linux: Install from the Snap Store using the badge below, or run this in a terminal:
    sudo snap install greentunnel-vpn

Coming soon: App Store.

💡 Tip: only install GreenTunnel VPN from the official stores or the links on this page, never from unknown APK/IPA mirrors. See every feature on the GreenTunnel VPN page.

FAQ

Is DoH more private than DoT?

Both encrypt your DNS queries equally well. The difference is the transport: DoH looks like normal HTTPS on port 443, while DoT uses its own port 853, which makes it easier for a network to recognise or block. Privacy then depends mostly on which DNS provider you trust.

Does encrypted DNS hide my browsing from my ISP?

It hides your DNS lookups, but your ISP can still see the IP addresses you connect to and, on most sites, the domain name in the first HTTPS packet (SNI). Encrypted DNS is one layer of privacy, not full anonymity.

Will encrypted DNS slow down my internet?

Usually not noticeably. After the first secure connection is set up, queries reuse it. Picking a provider with a server close to you matters more than the protocol.

More guides