What is DNS-over-HTTPS?

DoH (IETF RFC8484) allows browswers to send DNS requests as normal-looking HTTPS traffic to special DoH-compatible DNS servers (called DoH resolvers). Bottom line, DoH hides DNS requests inside the normal deluge of HTTPS data. Currently, Firefox ships with support for relaying encrypted DoH requests via Cloudflare’s DoH resolver. However, users can change the setting to any DoH resolver of choice.

DNS-over-HTTPS the Default for Firefox

According to a recent blog post, Mozilla announced it will be rolling out DoH to US end-users in late September and making it the default resolution path for the browser.

“We plan to gradually roll out DoH in the USA starting in late September. Our plan is to start slowly enabling DoH for a small percentage of users while monitoring for any issues before enabling for a larger audience. If this goes well, we will let you know when we’re ready for 100% deployment. For the moment, we encourage enterprise administrators and parental control providers to check out our config documentation and get in touch with any questions.” Selena Deckelmann, Mozilla

How DNS-over-HTTPS works

The DNS-over-HTTPS protocol works by resolving a domain name from a URL and sending a query to a DNS server to learn the numerical IP address of the web server that hosts the target site. DoH queries a DoH-compatible DNS server (resolver) via an encrypted HTTPS connection on port 443, rather than plaintext on port 53.

firefox dns doh

Good for Personal Privacy, Increased Enterprise Security Risk

DoH is controversial because it will bypass local network security policies and controls. DoH advocates argue that it makes it harder to block or monitor DNS queries where secure and private access to the Internet is needed. However, DNS is a commonly used method for restricting access to the Internet, mitigating risky user behavior and detecting emerging DNS-based threats. When DoH support is enabled in Firefox, the browser will ignore DNS settings set by network administrators, and use the browser-set DoH resolver.

DoH Based Cyber Threats

Any solution that provide DNS traffic filtering solutions are impacted by the protocol which will act as a firewall bypassing mechanism. DoH will become a common staple in bypassing enterprise security controls. This was recently described by Proofpoint on their update of PsiXBot’s use of Google’s DNS over HTTPS Service and by Netlab’s analysis of the Godlua Backdoor. Unmitigated, users will also be able to change their browser settings to visit restricted websites not accessible before.

Mitigation of DoH Risk

Enterprise security and IT teams will have to use a combination of controls. Admins will have to restrict the ability to configure DoH servers in software and browsers in their control. Organizations will also have to restrict outbound traffic to public DNS resolvers and HTTPs servers that support DoH as listed in the sample below. In a future post, we’ll deep dive into specific examples how to detect and mitigate DoH threats.

Sample of DoH Servers

https://dns.adguard.com/dns-query
https://dns-family.adguard.com/dns-query
https://dns.google/dns-query
https://cloudflare-dns.com/dns-query
https://dns.quad9.net/dns-query
https://dns9.quad9.net/dns-query
https://dns10.quad9.net/dns-query
https://doh.cleanbrowsing.org/doh/family-filter/
https://dns.nextdns.io/<config_id>
https://dns.dnsoverhttps.net/dns-query
https://doh.crypto.sx/dns-query
https://doh.powerdns.org
https://doh-ch.blahdns.com/dns-query (IPv6 ONLY)
https://doh-jp.blahdns.com/dns-query
https://doh-de.blahdns.com/dns-query
https://dns.dns-over-https.com/dns-query
https://doh.securedns.eu/dns-query
https://dns.rubyfish.cn/dns-query
https://doh-2.seby.io/dns-query
https://commons.host
https://doh.dnswarden.com/adblock
https://doh.dnswarden.com/uncensored
https://dns-nyc.aaflalo.me/dns-query
https://dns.aaflalo.me/dns-query
https://doh.appliedprivacy.net/query
https://doh.captnemo.in/dns-query
https://doh.tiar.app/dns-query
https://doh.dns.sb/dns-query
https://rdns.faelix.net/
https://doh.li/dns-query
https://doh.armadillodns.net/dns-query
https://doh.netweaver.uk/dns-query
https://jp.tiar.app/dns-query