To use Google Public DNS, you must explicitly change the DNS settings on your operating system or device to use the IP addresses of Google Public DNS. The procedure for changing your DNS settings varies depending on your operating system and version (Windows, Mac, Linux, or Chrome OS) or device (computer, phone, or router).
What you need to know beforehand
Depending on your system, you may also have the option of enabling a new privacy feature called DNS-over-TLS. This feature ensures the privacy and security of DNS messages sent between your device and Google’s DNS servers. For more information, please visit: https://www.what-you-must-know.com/.
Warning: Before you change your DNS settings to use Google Public DNS, be sure to write down the current server addresses or settings on a piece of paper. It is essential that you write this information down as a backup so that you can refer to it at any time.
The IP addresses of Google Public DNS (IPv4) are as follows:
The IPv6 coordinates of the Google Public DNS server are shown below:
2001: 4860: 4860 : 8888
2001: 4860: 4860 : 8844
You can use either of these addresses as your primary or secondary DNS server.
Important: For the most reliable DNS service, configure at least two DNS addresses. Do not specify the same address as primary and secondary.
You can configure Google’s public DNS addresses for IPv4 or IPv6 connections, or both. For IPv6-only networks with a NAT64 gateway using the 64:ff9b:/96 prefix, you can use Google Public DNS64 addresses instead of Google Public DNS IPv6 addresses, providing connectivity to IPv4-only services without further configuration.