Advertisement

What Is Google DNS (8.8.8.8) and How Do You Use It?

Güncel DNS
Bir dünya simgesine bağlı dört sunucuyu gösteren çizim

Google DNS, officially Google Public DNS, is a free DNS resolution service that Google offers to everyone. Its best-known address is 8.8.8.8, and it can be used in place of your internet provider’s DNS server.

This article covers the Google DNS addresses, how to enter them on your devices, what data is logged and what the service does not do. If DNS is new to you, start with what is DNS.

Advertisement

Google DNS addresses

Type Primary Secondary
IPv4 8.8.8.8 8.8.4.4
IPv6 2001:4860:4860::8888 2001:4860:4860::8844

There are also two addresses for encrypted DNS:

  • DNS over TLS (DoT): dns.google
  • DNS over HTTPS (DoH): https://dns.google/dns-query

Encrypted DNS stops your queries from travelling across the network as plain text. See encrypted DNS (DoH and DoT) for details.

How to use Google DNS

You can enter the addresses on a single device or on your router. When you set them on the router, every device on the network uses the same DNS.

  • Windows: in network settings, switch the DNS server assignment to manual and enter 8.8.8.8 and 8.8.4.4. Steps: change DNS on Windows.
  • Android: enter dns.google in the Private DNS field. This method uses DoT and applies on both Wi-Fi and mobile data. Steps: change DNS on Android.
  • iPhone: configure DNS manually in the details of the Wi-Fi network. Steps: change DNS on iPhone.
  • Router: enter the addresses in the DNS fields of the admin interface. Steps: change DNS on your router.

If you want to go back to your old setup later, simply set the DNS option back to automatic.

What data does Google DNS log?

According to the privacy page Google publishes, the service keeps two kinds of logs:

  • Temporary logs: these contain your IP address together with the domain name you queried. Google states that they are deleted within 24 to 48 hours and may be kept longer only for security and abuse investigations.
  • Permanent logs: a sample taken from the temporary logs. The IP address is removed and replaced with city or region level location information.

The same page states that Google does not use this data for ad targeting. Even so, whoever your DNS provider is, it can see which domain names you look up. For a general assessment, see is changing DNS safe.

What Google DNS does and does not do

  • It validates DNSSEC. For signed domains it rejects forged answers.
  • It does not filter content. It offers no blocking of malicious sites or adult content. If you want a filtered service, look at options such as Quad9 or OpenDNS.
  • It does not raise the speed of your internet plan. It only affects how long it takes to resolve a site name. You can measure for yourself which DNS is faster on your connection.
  • It does not hide your IP address. The sites you visit still see your IP address.

Changing DNS only makes a difference for DNS-based access restrictions. Large internet providers also use deep packet inspection, so switching to Google DNS does not solve every access problem.

Who is it for?

If your internet provider’s DNS server often fails to respond or is slow, Google DNS is a stable alternative. If you want filtering against malicious sites or family protection, another service is a better fit. We compare the options in public DNS servers.

Advertisement