Illustrated title card for the guide: DNS-over-HTTPS and DNS-over-TLS Forwarders at Home
dns

DNS-over-HTTPS and DNS-over-TLS Forwarders at Home

Set up DNS-over-HTTPS or DNS-over-TLS forwarding in AdGuard Home with Quad9, then verify the upstream protocol from a device on your network.

To forward home DNS over HTTPS or TLS, enter a Quad9 endpoint under Upstream DNS servers in AdGuard Home and point your devices at AdGuard Home’s LAN IP. Queries forwarded to Quad9 over either protocol are encrypted between AdGuard Home and Quad9. AdGuard Home upstream configuration

Start with AdGuard Home running on your network. Use the AdGuard Home setup guide for installation or the DNS encryption guide to configure encryption between your devices and AdGuard Home.

Set the Quad9 upstream

Open Settings → DNS settings. If you configure your upstreams in the web interface, replace the existing general-purpose entries in Upstream DNS servers with one line from this table. Keep any domain-specific entries that send local names to a private resolver. AdGuard Home FAQ, upstream configuration

ProtocolUpstream DNS servers entryQuad9 TCP port
DNS-over-HTTPS (DoH)https://dns.quad9.net/dns-query443
DNS-over-TLS (DoT)tls://dns.quad9.net853

AdGuard’s Quad9 endpoint list gives the exact entries. Quad9’s protocol documentation lists the ports.

Under Bootstrap DNS servers, enter 9.9.9.9 and 149.112.112.112, one IP per line. AdGuard Home uses these plain DNS servers for the initial lookup of the upstream hostname. AdGuard Home upstream configuration, AdGuard’s Quad9 endpoint list, AdGuard Home v1.0.0 interface labels

Leave Fallback DNS servers empty for this setup. AdGuard Home uses that field when upstream servers fail to respond. A plain DNS entry there would allow unencrypted forwarding when the upstream servers do not respond. AdGuard Home upstream configuration, AdGuard Home v1.0.0 interface labels

Click Test upstreams. Once it passes, click Apply in the upstream section. AdGuard Home upstream settings form, interface labels

Point home devices at AdGuard Home

If your router supports custom DNS, enter the LAN IP of AdGuard Home in the router’s DHCP/DNS settings. To try the setup on one device first, enter the same LAN IP in that device’s DNS settings. AdGuard Home device setup

Verify the protocol Quad9 receives

If you’re switching protocols, click Clear cache under DNS cache configuration and confirm before retesting. This removes cached DNS answers from AdGuard Home. AdGuard Home cache controls, interface labels

From a device using AdGuard Home for DNS, run the command for your operating system. Quad9 protocol test

macOS or Linux

dig +short txt proto.on.quad9.net.

Windows PowerShell

Resolve-DnsName -Type txt proto.on.quad9.net.
  • doh means Quad9 received the query over DNS-over-HTTPS.
  • dot means Quad9 received it over DNS-over-TLS.
  • do53-udp or do53-tcp means Quad9 received it over plain DNS.

If the result differs from the protocol you selected, look for proto.on.quad9.net in Query Log if logging is enabled. If the query appears and Quad9 reports plain DNS, recheck the upstream and fallback entries for plain DNS addresses. AdGuard Home FAQ, upstream configuration

Evidence and limits. The AdGuard Home v1.0.0 interface and the AdGuard and Quad9 documentation were checked on November 26, 2026. The setup and verification steps were not run.

Sources

  1. AdGuard Home upstream configurationadguard-dns.io
  2. AdGuard Home v1.0.0 interface labelsgithub.com
  3. AdGuard Home v1.0.0 upstream settings formgithub.com
  4. AdGuard Home v1.0.0 cache controlsgithub.com
  5. AdGuard Home getting startedadguard-dns.io
  6. AdGuard Home FAQadguard-dns.io
  7. AdGuard Home DNS encryptionadguard-dns.io
  8. AdGuard’s Quad9 endpoint listadguard-dns.io
  9. Quad9 protocol testdocs.quad9.net

Related