Your Privacy  |  Public DNS  |  Google for Developers (2024)

Stay organized with collections Save and categorize content based on your preferences.

This document provides important information about the data that we collectwhen you use Google Public DNS, how long we store it, and how we use it. Youcan also read our Terms of Service.

Our Commitment

We take your privacy very seriously. Google Public DNS adheres to theGoogle Privacy Policy. Moreover, Google does not use any personalinformation collected through the Public DNS service to target ads.

We do not correlate or associate personal information in Google Public DNSlogs with your information from use of any other Google service except foraddressing security and abuse.

Information that we collect

The information that we collect about your DNS queries is stored in two typesof logs, each detailed below:

  • Temporary DNS Logs
  • Permanent DNS Logs

Temporary DNS Logs

Temporary logs are the only logs that store both your IP address and your DNSquery. Specifically, the temporary logs include:

  • the IP address of your device sending the DNS query
  • the technical information collected for Permanent Logs (see below)
  • for DNS-over-HTTPS (DoH): the Content-Type and Accept HTTP headers

These logs are subject to our deletion processes within 24-48 hours. They areonly used for the following reasons:

  • to identify and mitigate security threats or activity that we deem abusiveor otherwise malicious,
  • to fix, maintain, and improve Google DNS services, and
  • to generate aggregate non-personally identifiable DNS usage summaries.

To address security and abuse issues, we may retain information from thetemporary logs for longer than 48 hours, in each case solely for the limitedpurpose of resolving such issues.

Permanent DNS Logs

The permanent logs are a sampling of the temporary logs where your IP addressis removed and replaced by a city or region-level location. Thus, thepermanent logs contain no personal information about you. The followinginformation is logged in the permanent logs:

  • Requested domain name
  • Request type (A , AAAA , NS, MX, TXT, etc.)
  • Request Size
  • Transport protocol (TCP, UDP, TLS, or HTTPS)
  • Client's autonomous system number
  • User's geolocation: country, region, and city (no more specific than 1 km²and 1000 users)
  • DNS Response code
  • Google DNS server information
  • Timestamp
  • Processing time
  • Response DNS flags (including AD, CD, DO, RD, and TC)
  • Response size
  • EDNS version
  • EDNS option
  • EDNS Client Subnet (ECS) (IP protocol and prefix length -- excluding theclient IP address)
  • For DNS-over-HTTPS (DoH):
    • Version string corresponding to HTTP path (/dns-query or /resolve)
    • Response HTTP encoding, such as application/dns-message or json

Previous Versions

You can see all past versions of this policy.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-10-06 UTC.

Your Privacy  |  Public DNS  |  Google for Developers (2024)
Top Articles
Latest Posts
Article information

Author: Margart Wisoky

Last Updated:

Views: 5843

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.