How to Use Cloudflare DNS in Chrome
In this article
Using Cloudflare DNS in Chrome improves browsing speed, privacy, and security by replacing your default DNS resolver with Cloudflare’s 1.1.1.1 service. This guide walks you through enabling it directly in Chrome using DNS over HTTPS (DoH), which encrypts your DNS queries and prevents third parties from tracking or tampering with them. You don’t need to change system-wide DNS settings—this method applies only within the Chrome browser.
What You'll Need
- Google Chrome browser (version 83 or later)
- An active internet connection
- Access to Chrome settings (admin rights not required)
- Optional: A secondary browser to test connectivity if Chrome fails
Step-by-Step
- Open Google Chrome on your computer. Ensure it’s updated by clicking the three-dot menu > Help > About Google Chrome. Chrome will automatically check for and install updates.
- Click the three-dot menu in the top-right corner, then select Settings.
- Scroll down and click Privacy and security in the left sidebar.
- Click Security in the list of privacy options.
- Scroll down to the section labeled Advanced and find Use secure DNS.
- Toggle the switch to turn on Use secure DNS. This enables DNS over HTTPS (DoH).
- Select With from the dropdown menu that appears.
- Click the text box below and type:
https://1.1.1.1/dns-query. This is Cloudflare’s public DNS endpoint for DoH. - Press Enter or click outside the box to confirm. Chrome will validate the address.
- Test the setup by visiting https://1.1.1.1/help. The page should confirm that you’re using Cloudflare DNS.
- Optionally, repeat the process in other Chrome profiles if you use multiple accounts.
Common Mistakes
Users often skip checking for Chrome updates, which can prevent DoH from working correctly. Older versions lack full DNS over HTTPS support. Another frequent error is typing the wrong URL—https://1.1.1.1/dns-query must be entered exactly, including the https:// prefix and path. Using just 1.1.1.1 will not work. Some users also assume the setting applies system-wide, but it only affects Chrome. Other browsers and apps continue using the default DNS unless configured separately.
Tips
- Use Chrome’s built-in DNS lookup tool: Visit
chrome://net-internals/#dnsto monitor DNS activity and clear the cache if sites fail to load. - For enhanced privacy, pair Cloudflare DNS with a privacy-focused search engine like DuckDuckGo.
- If your network blocks DoH, try using Cloudflare’s encrypted DNS via a trusted public Wi-Fi network or a different ISP.
- Bookmark
chrome://settings/securityfor quick access to DNS settings in the future. - Consider enabling Always use secure DNS in enterprise environments to enforce encryption.
Troubleshooting
If websites fail to load after enabling Cloudflare DNS, first verify the URL is correctly entered as https://1.1.1.1/dns-query. Typos are a common cause. Next, restart Chrome completely and retry. If the issue persists, disable secure DNS temporarily to confirm it’s the source. Go back to Settings > Privacy and security > Security and toggle Use secure DNS off, then on again. Clear Chrome’s DNS cache at chrome://net-internals/#dns by clicking Clear host cache.
If Chrome shows “Invalid” or “Not supported” for the DNS provider, your network or firewall may be blocking encrypted DNS traffic. Try connecting from a different network. In managed environments (schools, workplaces), DNS settings may be enforced by policy—check with your administrator.
Some websites may not resolve correctly if they rely on local DNS overrides (e.g., development domains). In such cases, temporarily disable secure DNS or add exceptions via enterprise policies. If you suspect malware, run Chrome’s cleanup tool under Settings > Reset and clean up > Clean up computer.
Frequently Asked Questions
Does using Cloudflare DNS in Chrome affect other browsers?
No. This setting only changes DNS for Chrome. Other browsers use your system’s DNS unless configured separately.
Is Cloudflare DNS free to use?
Yes. Cloudflare’s 1.1.1.1 public DNS service is free for personal and commercial use.
Can I use Cloudflare DNS on mobile Chrome?
Yes, the same steps apply on Android and iOS. However, mobile networks may override DNS settings, especially on carrier-managed devices.
Does secure DNS improve speed?
Often, yes. Cloudflare’s DNS is optimized for low latency and can resolve domains faster than default ISP resolvers.
Is my browsing completely private with Cloudflare DNS?
No. While DNS queries are encrypted and not logged by Cloudflare, your ISP still sees encrypted traffic volume and destination IPs. For full privacy, consider a trusted VPN.
What if I want to switch back to default DNS?
Return to Settings > Privacy and security > Security and select Use default DNS under Use secure DNS.