User Agents

Web browsers and everyday web tech, explained

How to Use Google DNS in Chrome

· 4 min read · How the Web Works

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Using Google DNS in Chrome can speed up your browsing, improve security, and help bypass certain network issues. This guide shows you how to configure Chrome to use Google's public DNS servers (8.8.8.8 and 8.8.4.4) directly, without changing your system-wide DNS settings. You'll need an active internet connection and a Chrome browser (desktop or Android).

What You'll Need

  • Google Chrome browser (updated to the latest version)
  • Administrator access to your computer (for some methods)
  • Internet connection

Step-by-Step

  1. Open Chrome's DNS settings. In the address bar, type chrome://net-internals/#dns and press Enter. This page shows current DNS cache and allows you to clear it.
  2. Enable Secure DNS (DoH). Go to chrome://settings/security (or navigate via Settings > Privacy and Security > Security). Scroll to the "Advanced" section and find "Use secure DNS." Toggle it on.
  3. Choose Google as the provider. In the dropdown next to "With", select "Google (Public DNS)". If you don't see it, click "Custom" and enter https://dns.google/dns-query.
  4. Verify the change. Visit chrome://net-internals/#dns again and look for the "Resolver" section. It should show dns.google as the secure DNS provider.
  5. Clear the DNS cache (optional). On the same page, click "Clear host cache" to flush old DNS entries. This helps apply the new settings immediately.
  6. For Windows system-wide (alternative). If you want Chrome to use Google DNS even when secure DNS is off, change your system DNS: Open Control Panel > Network and Sharing Center > Change adapter settings. Right-click your active connection, select Properties, choose "Internet Protocol Version 4 (TCP/IPv4)", and set DNS to 8.8.8.8 and 8.8.4.4. Restart Chrome.
  7. For Android. In Chrome, go to Settings > Privacy and security > Use secure DNS. Toggle it on and select "Google Public DNS" from the list.

Common Mistakes

  • Not toggling secure DNS on. Simply selecting Google in a dropdown won't work if the "Use secure DNS" toggle is off.
  • Using the wrong URL for custom DNS. The correct DoH URL is https://dns.google/dns-query. Any other URL (like https://8.8.8.8) won't work.
  • Forgetting to clear the cache. Old DNS entries can persist and cause pages to load from outdated IPs. Always clear the cache after changing settings.
  • Changing system DNS but not restarting Chrome. Chrome may keep using its own cached DNS until you close and reopen it.
  • Assuming it works on all networks. Some networks (like corporate or public Wi-Fi) block external DNS queries. If it doesn't work, revert to automatic DNS.

Tips

  • Test your DNS speed. Use a site like dnsperf.com to compare your current DNS with Google's before and after. This helps you see if the change is beneficial.
  • Combine with a VPN (if allowed). Google DNS works alongside VPNs, but note that some VPNs override DNS settings. If you use a VPN, check its settings.
  • Use Chrome flags for advanced control. Type chrome://flags/#dns-over-https and set it to "Enabled" to force DoH even when the provider isn't selected. This is for advanced users.
  • Keep Chrome updated. Newer versions have better DoH support and fewer bugs. Enable auto-updates.
  • Monitor for issues. If you experience slow loads or errors, revert to automatic DNS and see if the problem persists.

Troubleshooting

  • Chrome shows "Secure DNS not available" – This usually means your network blocks the DoH connection. Try using a different network (like your phone's hotspot) to test. If it works there, your ISP or network admin is blocking it.
  • Websites don't load after enabling – Clear the DNS cache (step 5) and restart Chrome. If the issue continues, disable secure DNS and try again. Some sites may be incompatible with DoH.
  • Settings page doesn't show the option – Make sure Chrome is up to date. Older versions may not have the secure DNS feature. Go to chrome://settings/help to update.
  • Custom DNS URL is rejected – Double-check the URL. It must be https://dns.google/dns-query, not https://dns.google or https://8.8.8.8.
  • System DNS change doesn't affect Chrome – If you changed system DNS but Chrome still uses old DNS, clear Chrome's cache and restart. Also, ensure you changed the correct network adapter (Wi-Fi vs Ethernet).

Frequently Asked Questions

Does using Google DNS in Chrome affect my entire computer?

No. The secure DNS setting in Chrome only affects Chrome's traffic. Other apps use your system DNS settings. To affect all apps, change the system DNS as described in step 6.

Will Google DNS make my internet faster?

Possibly. Google DNS is often faster than ISP-provided DNS, but results vary by location and network. Test before and after to see if there's a difference.

Is Google DNS safe and private?

Google DNS is encrypted (DoH) and generally considered safe. However, Google can see your DNS queries, so if privacy is a concern, consider a privacy-focused DNS provider like Cloudflare (1.1.1.1) or Quad9.

Can I use Google DNS on Chrome for Android?

Yes. On Android, go to Chrome settings > Privacy and security > Use secure DNS, and select Google Public DNS.

Why is my ISP's DNS better?

ISPs sometimes have local DNS servers that can be faster for local content. Google DNS is global and may be slower for local resources. It's a trade-off.

Does Google DNS work with VPNs?

Usually yes, but some VPNs override DNS settings. If you use a VPN, check its DNS configuration to ensure it doesn't conflict.