SecDNS

DNS over HTTPS (DoH) encrypted resolvers with per-device profiles on SecDNS

SecDNS provides RFC 8484 DNS over HTTPS endpoints with per-device URLs, anycast routing, and full integration with the SecDNS filtering and logging pipeline.

DNS over HTTPS on SecDNS

SecDNS speaks RFC 8484 DNS over HTTPS on every resolver, every region, with per-device URLs and full filtering applied inside the encrypted channel.

What it is

DNS over HTTPS (DoH) is a standard, published as RFC 8484, that carries DNS queries inside HTTPS requests. The client opens a normal TLS connection to a resolver on port 443, then sends DNS messages as either application/dns-message POSTs or application/dns-message GETs with the query base64-encoded in a URL parameter.

To an on-path observer (your coffee shop, your ISP, an airport Wi-Fi), the traffic looks like ordinary web browsing. They see "this device talked to dns.secdns.io over TLS" and nothing about which domains were resolved.

How it works

Three things happen on every DoH lookup:

  1. The client opens (or reuses) a TLS 1.3 connection to the resolver hostname.
  2. The client sends a DNS message wrapped in HTTPS, with the standard DNS wire format inside the body.
  3. The resolver returns the DNS answer with the same content type.

RFC 8484 specifies the wire format and the endpoint path; everything else is normal HTTPS. SecDNS supports HTTP/2 and HTTP/3 (QUIC) on all DoH endpoints, which means a single long-lived connection can multiplex thousands of queries with sub-millisecond overhead per query.

The URL structure on SecDNS is:

https://dns.secdns.io/dns-query/<device-id>

The <device-id> is a short opaque token bound to a profile in the console. Two devices on the same tenant can use the same URL or different URLs depending on whether you want per-device logging and policy.

Why it matters

Plain DNS is the last large piece of unencrypted internet plumbing on a typical home or office network. Anyone on the path — the cafe Wi-Fi, the building network, the ISP — can read every domain you look up, modify the answer, or block the query selectively. DoH closes that gap.

Concretely, DoH gives you:

  • Confidentiality. Network observers cannot enumerate the domains you visit via DNS.
  • Integrity. A man-in-the-middle cannot rewrite the answer to redirect you to a phishing site.
  • Censorship resistance. Because DoH rides on the same port as web traffic, restrictive networks cannot easily block DNS without breaking the web entirely.

How SecDNS implements it

PropertySecDNS DoH
RFC8484
TransportHTTP/2 and HTTP/3 (QUIC)
TLS version1.2 minimum, 1.3 preferred
Endpointhttps://dns.secdns.io/dns-query/<device-id>
Per-device identityYes — token-scoped URLs
Filtering inside the channelFull — same pipeline as plain DNS
LoggingConfigurable retention per profile

The resolver is anycast across our global PoPs, so the TLS handshake terminates at the nearest region. All the filtering — malware feeds, phishing detection, custom blocklists, allowlists, NRD quarantine — runs inside the encrypted channel; there is no plaintext leg anywhere in the path.

Setup typically takes a few minutes per device: paste the per-device URL into the OS or browser network settings, validate that lookups resolve, and the profile is live. Mobile devices accept a signed configuration profile that locks the DoH endpoint and prevents users from changing it.

Frequently asked questions

What is DNS over HTTPS in plain terms?

It is regular DNS wrapped inside an HTTPS request. Your device asks "where is example.com?" over the same encrypted channel a browser uses to load a web page, so a network observer cannot read the query or the answer.

How is DoH different from DoT?

Both encrypt DNS. DoT (port 853) is a dedicated TLS channel for DNS. DoH (port 443) hides DNS inside HTTPS, which makes it indistinguishable from web traffic and much harder for restrictive networks to selectively block.

Do I need a special app to use DoH?

Most modern operating systems and browsers support DoH natively. Windows 11, macOS, iOS, Android, Firefox, Chrome, and Edge all accept a DoH URL in their network settings. SecDNS also ships signed mobileconfig profiles for iOS and Android Private DNS templates.

What does a SecDNS DoH endpoint URL look like?

Per-device URLs follow the pattern https://dns.secdns.io/dns-query/<device-id>. The device-id identifies the profile and is rotatable from the console. There is also a tenant-wide URL for setups where per-device identity is not needed.

Does DoH expose me to my ISP?

No, that is the point. With DoH, your ISP sees an HTTPS connection to dns.secdns.io and nothing else. SecDNS is the only party that sees the actual query, and we apply the retention policy you set on the profile.

Is DoH slower than plain DNS?

A connected DoH session typically adds 1-3 ms versus plain UDP DNS. Connection setup adds a one-time TLS handshake (~30-80 ms) that is amortised across thousands of subsequent queries.