It seems that my previous article on DoH has generated some reaction, and there are also further developments that should be reported, all of which I’ll cover here.
Read: Opinion: What does DoH really mean for privacy?
Default DoH
First, with respect to DNS over HTTPS (DoH) as a default setting in browsers, I noted previously:
“If a browser chooses to use DoH [as a default setting] then there is little that the platform or the network can do to prevent it. If a browser has installed DoH support, then control over the DNS name resolution function has passed from the user to the browser provider, and rather than being an esoteric function enabled by a handful of users, it becomes a ‘mainstream’ service used by potentially billions of end users.”
On 9 April, Mozilla announced its plan to enable DoH by default in the Firefox browser, committing to an earlier informal description of Mozilla’s plans that were outlined by Mozilla’s Eric Rescorla at the end of March.
The market share of Mozilla’s Netscape browser does not appear to be all that significant. The StatCounter website reports a market share of 4.69% for Firefox in March 2019, which is a figure that appears to be consistent with other reports of browser market share. This implies that these moves by Mozilla are not intrinsically all that significant in terms of the profile of the larger Internet and the average Internet user.
The major concern is that this move by the Firefox browser is a precursor for similar changes to Chrome. Chrome has some 62.63% of market share, and if Chrome were to use a default setting that pushed all its DNS activities into a browser-selected DoH service then the implications for the DNS are very significant.
In APNIC’s in-progress study of the use of open DNS resolvers (such as the services operated by Google, Cloudflare and Quad9) the total market share of these open DNS resolvers encompasses approximately 20% of the Internet’s user population, while most other users use ISP-provided DNS resolvers. If some two-thirds of the Internet’s user base had their DNS queries redirected to one, or even just a handful of these DoH-based DNS services, this would be a major change to the Internet.
The open source DNS resolver effort, populated at present by ISC’s BIND DNS resolver, NLNet’s Unbound, CZ.NIC’s Knot DNS, and PowerDNS, among others, would probably not survive this scale of change; the risk is that the open DNS itself may not survive.
The privacy implications are also serious. The DNS would still create a rich vein of information about each user’s activities, but the parties who are privy to this information flow would change, creating new winners and losers in the marketplace of surveillance capitalism.
Will the other browsers follow Mozilla’s lead with DoH enabled by default? The experience so far would support a ‘yes’ answer.
Browser vendors have been enthusiastic to integrate changes to their platform that decrease page load times and equally keen to integrate changes that protect the browser’s activity against various forms of surveillance. DoH does not necessarily make DNS resolution quicker, although it does put the browser in more control over its use of the DNS and allows the browser to control its own local DNS cache.
But, of course, DoH plugs a critical DNS information leak in the current browser architecture. Third party observers can infer browser activity by looking at the browser’s DNS query stream. DoH prevents any such observation in either the user’s platform or the local network. So ‘yes’ is a likely answer to this question.
Bad DoH
By pushing client-side DNS queries into HTTPS, the Internet itself has effectively lost control of the client end of the DNS. Each and every application, including the vast array of malware, can use DoH and the DNS as a command and control channel in a way that is undetected by the client or client’s network operator.
Much of today’s malware containment frameworks, including DNS firewalling, are rendered useless. Whether or not the browser has DoH enabled by default, applications can generate DoH requests for DNS resolution in a manner that bypasses today’s DNS-based malware containment mechanisms. As has been observed on a DoH-related mailing list:
“Pandora’s box is now open and DoH has escaped. Seems to be little we can do about it now. The times they are a changing.”
Surveillance DoH
I raised the following question in my previous post:
“Have we now provided the private surveillance framework with a whole new trove of personal data to mine by ruthlessly exploiting the DNS in a manner that is entirely out of sight? Once the browsers and even the apps direct their name queries through encrypted channels to resolvers operated by the same browser and app providers, then have we dealt a body blow to any efforts to safeguard personal privacy on the Internet?”
DOH service operators have a clear view of the end user. The end-to-end encryption mechanism of TLS implies that the query is being passed from the end application, rather than via any DNS intermediaries. This allows a DoH service operator to assemble individual user activity profiles, and the concern here is that such individual profiles have considerable value in the online advertising market. Open DNS resolver operators offer a ‘free’ service, as users are not charged fees to resolve DNS names. Would the temptation to fund this free service by monetizing such individual profiles prove to be overwhelming?
I should clarify this speculation further, as it has generated comment that the major open DNS resolver services, who appear to also be the current DoH service operators, already operate with the terms of clearly stated privacy policies, and the ruthless exploitation of personal data appears to be entirely out of scope of such policies, obviously.
What do today’s open DNS resolver operators that provide a DoH service say in their privacy policies?
The Quad9 public DNS resolver service does not operate a browser and, as far as I am aware, it does not use the DNS data it collects for any use related to user profiling. Quad9’s privacy policy states:
“We share anonymized data on specific domains (such as domain, timestamp, geolocation, number of hits, first seen, last seen) with our threat intelligence partners. Please note that this information does not contain source IP information or any other identifier that would directly identify the end user or their organization.”
Google states that:
“We don’t correlate or combine information from our temporary or permanent logs with any personal information that you have provided Google for other services.”
Cloudflare is also quite explicit in this area:
“Cloudflare’s business has never been built around tracking users or selling advertising. We don’t see personal data as an asset; we see it as a toxic asset. While we need some logging to prevent abuse and debug issues, we couldn’t imagine any situation where we’d need that information longer than 24 hours. And we wanted to put our money where our mouth was, so we committed to retaining KPMG, the well-respected auditing firm, to audit our practices annually and publish a public report confirming we’re doing what we said we would.”
Engaging a third party to audit a private enterprise’s claims of privacy practices seems like a good move. Without some form of visible accountability, the company’s privacy policies are, ultimately, just words.
All of these open DNS resolver providers appear to have a clear view of user concerns over personal privacy. Their privacy policies implicitly acknowledge that the DNS query stream could be used to provide insights into the personal profile of users and assert that they have no such intent to do so. Such noble intentions to operate a free public service and refrain from any form of monetization of the service are entirely laudable.
However, from an historical perspective these undertakings appear to be unrealistic and unsustainable. We should remember the events of a century ago with Theodore Vail and the Kingsbury Commitment in 1910 in the United States. His key commitment was a profession of noble intent to enrich the public space. AT&T was to be an ‘enlightened monopoly’ that served the public in close cooperation with the state while at the same time serving the interests of AT&T shareholders.
His view of the telephone service as a privately-operated public utility is “at once the most sympathetic and scariest element of his vision. Vail saw no harm in, and indeed believed in, giants, so long as they be friendly giants. He believed power should be beneficently concentrated, and that with great power came great responsibility.” (Wu, T. (2010). The Master Switch. London: Atlantic.)
As we observe the aggregation of this critical part of the Internet’s infrastructure in the centralization of the DNS, it cannot be ignored that these high statements of respect for the public interest and safeguarding of personal privacy sound scarily similar to the espoused vision of AT&T in 1910 as it embarked on a course of national monopoly. But it is perhaps not today’s operators and today’s commitments that should concern us, but where this may lead.
Again, quoting Tim Wu (2010):
“[Theodore Vail] presents us therefore with a challenging figure: an unabashed monopolist, but a benign one, who lived up to his own ideals of enlightened despotism. The fault in this arrangement, therefore, lay not so much with Theodore Vail as with the men who would succeed him.”
Perhaps the same is true of these current undertakings relating to the protection of personal privacy and their perception of the greater public interest. Over time these earnest undertakings in the provision of free services may well be eroded by the inevitable pressures that every private enterprise is prone to, namely those of paying the bills and maximizing shareholder value. Once the DNS is placed under an all-encompassing shroud of deep encryption then both good and dark deeds will be undetectable.
Name Space DoH
We have reached a very odd place with today’s Internet.
The response to running out of IPv4 addresses has been the massive use of address sharing practices. We’ve crammed more than 20 billion devices into some 3 billion IPv4 addresses.
Yes, if we ever get to the other end of this protracted transition to IPv6 there is a vague prospect that we will be able to restore address integrity, but this is somewhat unlikely. But right now, addresses are semantically confused.
At best, in this environment of intense address sharing, IP addresses are merely ephemeral session tokens. It appears that what holds the Internet together as a single network is a single coherent name space.
But will this still be the case when the name resolution function — the critical element of the name space — is shifted behind an opaque shroud? Will the name space maintain its coherency and consistency when there is no ability to oversee the entire name space?
We have already seen efforts to use the DNS to steer users to the closest content location by tailoring the response to suit the querier, but with DOH it is possible to go much further in customizing views of the name space based on the identity and location of the end user and the application that they are running. What becomes of a coherent name space when the resolution of a name depends on who is making the query?
These are indeed interesting times for the Internet.
Editors note: Article has been updated on 16 April 2019 with further clarification added under ‘Surveillance DoH’ and the addition of a new section ‘Name Space DoH’.
The views expressed by the authors of this blog are their own and do not necessarily reflect the views of APNIC. Please note a Code of Conduct applies to this blog.