DNS over HTTPS

DNS over HTTPS (DoH) is a protocol for performing remote Domain Name System (DNS) resolution via the HTTPS protocol. A goal of the method is to increase user privacy and security by preventing eavesdropping and manipulation of DNS data by man-in-the-middle attacks[1] by using the HTTPS protocol to encrypt the data between the DoH client and the DoH-based DNS resolver. By March of 2018, Google and the Mozilla Foundation had started testing versions of DNS over HTTPS.[2][3] In February 2020, Mozilla launched a version of Firefox that encrypts domain names by default for US-based users.[4]

DNS over HTTPS
Communication protocol
Purposeencapsulate DNS in HTTPS for privacy and security
IntroducedOctober 2018 (2018-10)
OSI layerApplication Layer
RFC(s)RFC 8484

In addition to improving security, another goal of DNS over HTTPS is to improve performance: testing of ISP DNS resolvers has shown that many often have slow response times, a problem that is exacerbated by the need to potentially have to resolve many hostnames when loading a single web page.[1]

Technical details

DoH is a proposed standard, published as RFC 8484 (October 2018) by the IETF. It uses HTTP/2 and HTTPS, and supports the wire format DNS response data, as returned in existing UDP responses, in an HTTPS payload with the MIME type application/dns-message.[1][5] If HTTP/2 is used, the server may also use HTTP/2 server push to send values that it anticipates the client may find useful in advance.[6]

DoH is a work in progress. Even though the IETF has published RFC 8484 as a proposed standard and companies are experimenting with it,[7][8] the IETF has yet to determine how it should best be implemented. The IETF is evaluating a number of approaches for how to best deploy DoH and is looking to set up a working group, Adaptive DNS Discovery (ADD), to do this work and develop a consensus. In addition, other industry working groups such as the Encrypted DNS Deployment Initiative, have been formed to "define and adopt DNS encryption technologies in a manner that ensures the continued high performance, resiliency, stability and security of the Internet’s critical namespace and name resolution services, as well as ensuring the continued unimpaired functionality of security protections, parental controls, and other services that depend upon the DNS".[9]

Deployment scenarios

DoH is used for recursive DNS resolution by DNS resolvers. Resolvers (DoH clients) must have access to a DoH server hosting a query endpoint.[6]

DoH lacks widespread support in operating systems, although Insider versions of Windows 10 support it. Thus, a user wishing to use it usually needs to install additional software. Three usage scenarios are common:

  • Using a DoH implementation within an application: Some browsers have a built-in DoH implementation and can thus perform queries by bypassing the operating system's DNS functionality. A drawback is that an application may not inform the user if it skips DoH querying, either by misconfiguration or lack of support for DoH.
  • Installing a DoH proxy on the name server in the local network: In this scenario client systems continue to use traditional (port 53 or 853) DNS to query the name server in the local network, which will then gather the necessary replies via DoH by reaching DoH-servers in the Internet. This method is transparent to the end user.
  • Installing a DoH proxy on a local system: In this scenario, operating systems are configured to query a locally running DoH proxy. In contrast to the previously mentioned method, the proxy needs to be installed on each system wishing to use DoH, which might require a lot of effort in larger environments.

Software support

Operating systems

Apple

Apple's iOS 14 and macOS 11 will support both DNS over HTTPS and DNS over TLS (DoT) when they are released in the fall of 2020.[10][11]

Windows

In November 2019, Microsoft announced plans to implement support for encrypted DNS protocols in Microsoft Windows, beginning with DoH.[12] In May 2020, Microsoft released Windows 10 Insider Preview Build 19628 that included initial support for DoH[13] along with instructions on how to enable it via registry and command line interface.[14] Windows 10 Insider Preview Build 20185 added graphical user interface for setting up DNS over HTTPS resolver.[15]

Web browsers

Google Chrome

DNS over HTTPS is available in Google Chrome 84, configurable via the settings page. When enabled, and the operating system is configured with a supported DNS server, Chrome will upgrade DNS queries to be encrypted.[16] It is also possible to manually specify a preset or custom DoH server to use within the user interface.[17]

Microsoft Edge

Microsoft Edge has support for DoH, configurable via the edge://flags URL. If the operating system is configured with a supported DNS server, Edge will upgrade DNS queries to be encrypted.[18]

Mozilla Firefox

In 2018, Mozilla partnered with Cloudflare to deliver DoH for Firefox users that enable it. Firefox 73 added another resolver in the options, NextDNS.[19] On February 25, 2020, Firefox started enabling DNS over HTTPS for all US-based users, relying on Cloudflare's resolver by default.[20] On June 3, 2020, Firefox 77.0.1 disabled NextDNS by default because the high load on the NextDNS servers caused by Firefox users was "effectively DDoS'ing NextDNS" (NextDNS is still available in the settings, just not enabled by default).[21] In June 2020, Mozilla announced plans to add Comcast to the list of trusted DoH resolvers.[22]

Opera

Opera supports DoH, configurable via the opera://flags URL. By default, DNS queries are sent to Cloudflare servers.[18]

Public DNS servers

DNS over HTTPS server implementations are already available free of charge by some public DNS providers.[23] See public recursive name server for an overview.

Criticisms and implementation considerations

DoH can impede analysis and monitoring of DNS traffic for cybersecurity purposes; the 2019 DDoS worm Godula used DoH to mask connections to its command-and-control server.[24][25] DoH has been used to bypass parental controls which operate at a DNS level; Circle, a parental control router which relies on DNS queries to check domains against a blocklist, blocks DoH by default due to this.[26]

The Internet Service Providers Association (ISPA)—a trade association representing UK ISPs—and the Internet Watch Foundation have criticized Mozilla, developer of the Firefox web browser, for supporting DoH, as they believe that it will undermine web blocking programs in the country, including ISP default filtering of adult content, and mandatory court-ordered filtering of copyright violations. The ISPA nominated Mozilla for its "Internet Villain" award for 2019 (alongside the EU Directive on Copyright in the Digital Single Market, and Donald Trump), "for their proposed approach to introduce DNS-over-HTTPS in such a way as to bypass UK filtering obligations and parental controls, undermining internet safety standards in the UK." Mozilla responded to the allegations by the ISPA, arguing that it would not prevent filtering, and that they were "surprised and disappointed that an industry association for ISPs decided to misrepresent an improvement to decades-old internet infrastructure".[27][28] In response to the criticism, the ISPA apologized and withdrew the nomination.[29][30] Mozilla subsequently stated that DoH will not be used by default in the UK market until further discussion with relevant stakeholders, but stated that it "would offer real security benefits to UK citizens".[31]

Encryption by itself does not protect privacy, encryption is simply a method to obfuscate the data.

Many issues with how to properly deploy DoH are still being resolved by the internet community including but not limited to:

  • Parental controls and content filters
  • Split DNS in Enterprises
  • CDN Localization
  • Interoperability with 5G networks

The DoH clients do not directly query any authoritative name servers. Instead, the client relies on the DoH server using traditional (port 53 or 853) queries to finally reach authoritative servers. Thus DoH does not qualify as an end-to-end encrypted protocol, only hop-to-hop encrypted and only if DNS over TLS is used consistently.

gollark: I think what might work better is some sort of loan thing?
gollark: There are *shops* (and groups of shops) which do, but they're not organized like companies.
gollark: They just jump straight to "stock exchanges are cool real life things, how do I make one". And ignore the older, duller, but still important stuff.
gollark: For example, if you buy stock in "GTech Stores", you'd expect to get dividends if I sell anything. But nobody has actually designed a mechanism for company krist accounts, paying dividends automatically, calculating profit, accounting and all that.
gollark: I think a key issue is that there's not really any mechanism for accounting and paying out profit.

See also

References

  1. Chirgwin, Richard (14 Dec 2017). "IETF protects privacy and helps net neutrality with DNS over HTTPS". The Register. Archived from the original on 14 December 2017. Retrieved 2018-03-21.
  2. "DNS-over-HTTPS | Public DNS | Google Developers". Google Developers. Archived from the original on 2018-03-20. Retrieved 2018-03-21.
  3. Cimpanu, Catalin (2018-03-20). "Mozilla Is Testing "DNS over HTTPS" Support in Firefox". BleepingComputer. Archived from the original on 2018-03-20. Retrieved 2018-03-21.
  4. ""A long-overdue technological shift toward online privacy": Firefox encrypts domain names. Google to follow". What’s New in Publishing | Digital Publishing News. 2020-02-26. Archived from the original on 2020-02-26. Retrieved 2020-02-26.
  5. Hoffman, P; McManus, P. "RFC 8484 - DNS Queries over HTTPS". datatracker.ietf.org. Archived from the original on 2018-12-12. Retrieved 2018-05-20.
  6. Hoffman, P; McManus, P. "draft-ietf-doh-dns-over-https-08 - DNS Queries over HTTPS". datatracker.ietf.org. Archived from the original on 2018-04-25. Retrieved 2018-05-20.
  7. "Experimenting with same-provider DNS-over-HTTPS upgrade". Chromium Blog. Archived from the original on 2019-09-12. Retrieved 2019-09-13.
  8. Deckelmann, Selena. "What's next in making Encrypted DNS-over-HTTPS the Default". Future Releases. Archived from the original on 2019-09-14. Retrieved 2019-09-13.
  9. "About". Encrypted DNS Deployment Initiative. Archived from the original on 2019-12-04. Retrieved 2019-09-13.
  10. June 2020, Anthony Spadafora 29. "Apple devices will get encrypted DNS in iOS 14 and macOS 11". TechRadar. Archived from the original on 2020-07-01. Retrieved 2020-07-01.
  11. Cimpanu, Catalin. "Apple adds support for encrypted DNS (DoH and DoT)". ZDNet. Archived from the original on 2020-06-27. Retrieved 2020-07-02.
  12. Gallagher, Sean (2019-11-19). "Microsoft says yes to future encrypted DNS requests in Windows". Ars Technica. Archived from the original on 2019-11-19. Retrieved 2019-11-20.
  13. "Announcing Windows 10 Insider Preview Build 19628". 13 May 2020. Archived from the original on 18 May 2020. Retrieved 13 May 2020.
  14. "Windows Insiders can now test DNS over HTTPS". Archived from the original on 15 May 2020. Retrieved 7 July 2020.
  15. Brinkmann, Martin (6 August 2020). "Windows 10 build 20185 comes with encrypted DNS settings - gHacks Tech News". gHacks Tech News. Retrieved 2020-08-06.
  16. "DNS over HTTPS (aka DoH)". Archived from the original on 27 May 2020. Retrieved 23 May 2020.
  17. "Chrome 83: rollout of DNS over HTTPS (Secure DNS) begins". Archived from the original on 1 June 2020. Retrieved 20 July 2020.
  18. "Here's how to enable DoH in each browser, ISPs be damned". Archived from the original on 9 June 2020. Retrieved 28 May 2020.
  19. Mozilla. "Firefox Announces New Partner in Delivering Private and Secure DNS Services to Users". The Mozilla Blog. Archived from the original on 2020-02-25. Retrieved 2020-02-25.
  20. Deckelmann, Selena. "Firefox continues push to bring DNS over HTTPS by default for US users". The Mozilla Blog. Archived from the original on 2020-05-27. Retrieved 2020-05-28.
  21. "Firefox 77.0.1 will be released today to fix one issue - gHacks Tech News". www.ghacks.net. Archived from the original on 2020-06-09. Retrieved 2020-06-09.
  22. Brodkin, Jon (2020-06-25). "Comcast, Mozilla strike privacy deal to encrypt DNS lookups in Firefox". Ars Technica. Archived from the original on 2020-06-26. Retrieved 2020-06-26.
  23. "DNS over HTTPS Implementations". 2018-04-27. Archived from the original on 2018-04-02. Retrieved 2018-04-27.
  24. Cimpanu, Catalin. "DNS-over-HTTPS causes more problems than it solves, experts say". ZDNet. Archived from the original on 2019-11-08. Retrieved 2019-11-19.
  25. Cimpanu, Catalin. "First-ever malware strain spotted abusing new DoH (DNS over HTTPS) protocol". ZDNet. Archived from the original on 2019-10-27. Retrieved 2019-11-19.
  26. "Managing encrypted DNS connections (DNS over TLS, DNS over HTTPS) with Circle". Circle Support Center. Retrieved 2020-07-07.
  27. Cimpanu, Catalin. "UK ISP group names Mozilla 'Internet Villain' for supporting 'DNS-over-HTTPS'". ZDNet. Archived from the original on 2019-07-05. Retrieved 2019-07-05.
  28. "Internet group brands Mozilla 'internet villain' for supporting DNS privacy feature". TechCrunch. Retrieved 2019-07-19.
  29. "British ISPs fight to make the web LESS secure". IT PRO. Retrieved 2019-09-14.
  30. Patrawala, Fatema (2019-07-11). "ISPA nominated Mozilla in the "Internet Villain" category for DNS over HTTPs push, withdrew nominations and category after community backlash". Packt Hub. Archived from the original on 2019-12-04. Retrieved 2019-09-14.
  31. Hern, Alex (2019-09-24). "Firefox: 'no UK plans' to make encrypted browser tool its default". The Guardian. ISSN 0261-3077. Archived from the original on 2019-09-28. Retrieved 2019-09-29.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.