Home > General > Questions about Google Public DNS & Privacy

Questions about Google Public DNS & Privacy

December 16, 2009 Leave a comment Go to comments

1) What makes this faster than a local cache

  • The service is not just about speed, it’s also about security, and the validity of responses
  • In terms of speed, we are prefetching queries and keeping a large number of domains in our cache to ensure we can return responses in the time it takes to reach a Google Data Center
  • Every DNS query has a Time To Live.
    • For example, google.com might return a time to live for 300 seconds for which time you can keep the query in your cache.
    • Most resolvers: After 300 seconds, if a user asks the question again, your resolver will traverse the web to find the answer.
    • Google Public DNS: Before the 300 seconds expires, Google asks the question again, regardless of the end user asking us. This makes sure we keep our cache warm.
  • Packet loss: In addition, since DNS runs on the UDP protocol which does suffer from packet loss, we treat the packets very safely and decouple our finding the answer from the user asking the question. This reduces packet loss rate and the requirement to retransmit and wait for an answer.

2) What type of information Google will be gathering from users who use this service

  • We are equally concerned about this issue so we went out of our way to detail exactly what we’re doing with privacy here: code.google.com/speed/public-dns/privacy.html
  • Our goal is to make the web faster; not to collect end user data.
  • IP address information is only kept for 24-48 hours in case we need to detect malicious use (such as Denial of Service attacks)
  • After 48 hours the IP is discarded
  • For 2 weeks, we keep your ISP and geolocation information (such as Comcast from San Fran)
    After 2 weeks, we further randomly downsample that
  • We promise to NEVER correlate any of these logs with any other logs we keep for any other products
Categories: General
  1. January 2, 2010 at 11:36 AM

    I really enjoyed reading your article, keep up writing such exciting articles.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: