Google Public DNS

Google Public DNS is a free Domain Name System (DNS) service offered to Internet users world-wide by Google. It functions as a recursive name server.

Google Public DNS was announced on 3 December 2009,[1] in an effort described as "making the web faster and more secure".[2][3] As of 2014, it is the largest public DNS service in the world, handling 400 billion requests per day.[4] Google Public DNS is not related to Google Cloud DNS, which is a DNS hosting service.


Google Public DNS operates recursive name servers for public use at the IP addresses and for IPv4 service, and 2001:4860:4860::8888 and 2001:4860:4860::8844, for IPv6 access.[5][6] The addresses are mapped to the nearest operational server by anycast routing.[7]

The service does not use conventional DNS name server software, such as BIND, instead relying on a custom-designed implementation, conforming to the DNS standards set forth by the IETF. It fully supports the DNSSEC protocol since 19 March 2013. Previously, Google Public DNS accepted and forwarded DNSSEC-formatted messages but did not perform validation.[8][9]

Some DNS providers practice DNS hijacking while processing queries, redirecting web browsers to an advertisement site operated by the provider when a nonexistent domain name is queried. This is considered intentional breaking of the DNS specification.[10] The Google service correctly replies with a non-existent domain (NXDOMAIN) response.[11]

The Google service also addresses DNS security. A common attack vector is to interfere with a DNS service to achieve redirection of web pages from legitimate to malicious servers. Google documents efforts to be resistant to DNS cache poisoning, including “Kaminsky Flaw” attacks as well as denial-of-service attacks.[12]

Google claims various efficiency and speed benefits,[13] such as using anycast routing to send user requests to the closest data center, over-provisioning servers to handle denial-of-service attacks and load balancing servers using two cache levels with a small per-host cache containing the most popular names and another pool of servers partitioned by the name to be looked up. This second level cache reduces the fragmentation and cache miss rate that can result from increasing the number of servers.


Google stated that for the purposes of performance and security, the querying IP address will be deleted after 24–48 hours, but ISP and location information are stored permanently on their servers.[14][15][16]

According to Google's general privacy policy, "We [Google] may combine personal information from one service with information, including personal information, from other Google services".[15] However, Google Public DNS's policy specifically 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."[14]


In December 2009, Google Public DNS was launched with its announcement[17] on the Official Google Blog by product manager Prem Ramaswami, with an additional post on the Google Code blog.[18]


At the launch of Google Public DNS, it did not directly support DNSSEC. Although RRSIG records could be queried, the AD (Authenticated Data) flag was not set in the launch version, meaning the server was unable to validate signatures for all of the data. This was upgraded on 28 January 2013, when Google's DNS servers silently started providing DNSSEC validation information,[19] but only if the client explicitly set the DNSSEC OK (DO) flag on its query.[20] This service requiring a client-side flag was replaced on 6 May 2013 with full DNSSEC validation by default, meaning all queries will be validated unless clients explicitly opt out.[21]

Client subnet

Since June 2014, Google Public DNS automatically detects nameservers that support EDNS Client Subnet (ECS) options as defined in the IETF draft (by probing nameservers at a low rate with ECS queries and caching the ECS capability), and will send queries with ECS options to such nameservers automatically.[22]

Censorship in Turkey

In March 2014, use of Google Public DNS was blocked in Turkey after it was used to circumvent the blocking of Twitter, which took effect on 20 March 2014 under court order. The block was the result of earlier remarks by Prime Minister Tayyip Erdogan who vowed to "wipe out Twitter" following damaging allegations of corruption in his inner circle. The method became popular after it was determined that a simple domain name block was used to enforce the ban, which would easily be bypassed by using an alternate DNS system. Activists distributed information on how to use the service, and spray-painted the IP addresses used by the service as graffiti on buildings. Following the discovery of this method, the government moved to directly block Twitter's IP address, and Google Public DNS was blocked entirely.[23][24][25][26]

See also


  1. Geez, Google Wants to Take Over DNS, Too Wired, 3 December 2009
  2. Introducing Google Public DNS, Official Google Blog
  3. Pondering Google's Move Into the D.N.S. Business New York Times, 4 December 2009
  4. "Google Public DNS and Location-Sensitive DNS Responses", Google, 27 February 2017.
  5. Google DNS Speed
  6. Mario Bonilla   View profile    More options (2011-06-09). "Announcement on public-dns-announce". Retrieved 2012-10-10.
  7. Google DNS FAQ Countries
  8. "Frequently Asked Questions". Retrieved 3 July 2017.
  9. Google Online Security Blog: Google Public DNS Now Supports DNSSEC Validation
  10. "Public DNS Server with no hijacking!". Retrieved 22 Jun 2012.
  11. What Is NXDOMAIN? Email PDF Print Mar/13/12 (2012-03-13). "What Is Nxdomain?". Retrieved 2013-05-24.
  12. "Google Public DNS Security Threats and Mitigations". Retrieved 22 June 2012.
  13. "Google Public DNS Performance Benefits". Retrieved 22 June 2012.
  14. 1 2 "Google Public DNS: Your Privacy". Google. 2016-04-01. Retrieved 2016-09-05.
  15. 1 2 "Google Privacy Policy". Google. 2014-03-31. Retrieved 2014-07-01.
  16. "Google Public DNS and your privacy". PC World. 4 December 2009.
  17. Introducing Google Public DNS Official Google Blog, 3 December 2009
  18. "Introducing Google Public DNS". Google Code Blog. 3 December 2009.
  19. "Google's Public DNS does DNSSEC validation". nanog mailing list archives. 29 January 2013.
  20. Huston, Geoff (17 July 2013). "DNS, DNSSEC and Google's Public DNS Service". CircleID.
  21. "Google Public DNS Now Supports DNSSEC Validation". Google Code Blog. 1 June 2013.
  22. Public-DNS-announce mailing list: Google Public DNS now auto-detects nameservers that support edns-client-subnet
  23. "Turkish citizens use Google to fight Twitter ban". The Verge. Retrieved 24 March 2014.
  24. "Twitter website 'blocked' in Turkey", BBC News, 20 March 2014. Retrieved 23 March 2014.
  25. "'We'll eradicate Twitter': Turkey blocks Twitter access", PCWorld, 21 March 2014. Retrieved 22 March 2014
  26. "Turkey becomes first country ever to ban Google DNS". Today's Zaman. Archived from the original on 24 March 2014. Retrieved 24 March 2014.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.