Google Public DNS
Google Public DNS is a Domain Name System service offered to Internet users worldwide by Google. It functions as a recursive name server.
Google Public DNS was announced on 3 December 2009, in an effort described as "making the web faster and more secure". As of 2018, it is the largest public DNS service in the world, handling over a trillion queries per day. Google Public DNS is not related to Google Cloud DNS, which is a DNS hosting service.
Service
The Google Public DNS service operates recursive name servers for public use at the following four IP addresses. The addresses are mapped to the nearest operational server by anycast routing.DoH addresses | https://dns.google/dns-query https://dns.google/resolve? |
IPv4 addresses | 8.8.8.8 8.8.4.4 |
IPv6 addresses | 2001:4860:4860::8888 2001:4860:4860::8844 |
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.
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. The Google service correctly replies with a non-existent domain response.
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.
Google claims various efficiency and speed benefits, 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.
As of January 2020, DNSPerf rates Google Public DNS as the fourth fastest public DNS resolver worldwide, behind Cloudflare’s 1.1.1.1, DNSFilter, and OpenDNS.
DNS64
The Google Public DNS64 service operates recursive name servers for public use at the following two IP addresses for use with NAT64. These servers are compatible with DNS over HTTPS.DoH addresses | https://dns64.dns.google/dns-query https://dns64.dns.google/resolve?name=ipv4only.arpa&type=AAAA |
IPv6 addresses | 2001:4860:4860::6464 2001:4860:4860::64 |
Privacy
Google stated that for the purposes of performance and security, the querying IP address will be deleted after 24–48 hours, but Internet service provider and location information are stored permanently on their servers.According to Google's general privacy policy, "We may combine personal information from one service with information, including personal information, from other Google services". 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."
History
In December 2009, Google Public DNS was launched with its announcement on the Official Google Blog by product manager Prem Ramaswami, with an additional post on the Google Code blog.In January 2019, Google DNS adopted the DNS over TLS protocol.