How to Change your DNS Resolver to Cloudflare

Overview

This guide explains how to change your computer's DNS resolver to Cloudflare on Windows and macOS. Switching to Cloudflare’s DNS can improve browsing speed, enhance online privacy, and provide better protection against malicious domains.

Use Cases

  • Faster Browsing: Cloudflare’s DNS reduces domain resolution time, improving overall browsing speed.
  • Enhanced Privacy: Cloudflare protects your data by not logging your IP address and uses advanced encryption for DNS queries.
  • Resolving Cached DNS Issues: Some DNS providers rely on cached records that can become outdated or corrupted, leading to inaccessible websites. 

Switching to Cloudflare DNS on Your Device

On Windows

  1. Press Windows + R.
  2. Type ncpa.cpl.
  3. Press Enter to open the Network Connections window.
  4. Right-click your active network connection (e.g., Wi-Fi or Ethernet).
  5. Select Properties.
  6. In the list, scroll to Internet Protocol Version 4 (TCP/IPv4).
  7. Select it and click Properties.
  8. In the IPv4 properties window, select Use the following DNS server addresses.
  9. Enter the following addresses:
    1. Preferred DNS server: 1.1.1.1
    2. Alternate DNS server: 1.0.0.1
  10. Click OK on all windows to save changes.

On MacOS

  1. Click the Apple menu from the top-left corner.
  2. Select System Settings (or System Preferences on older versions).
  3. Select Network.
  4. Choose your active network connection (e.g., Wi-Fi or Ethernet).
  5. Click Details (or Advanced in older versions).
  6. Go to the DNS tab.
  7. Remove existing DNS servers (if needed) and click the + button to add:
    1. 1.1.1.1
    2. 1.0.0.1
  8. Click OK then Apply to save changes.

FAQs and Troubleshooting Tips

What if a website is still inaccessible after changing the DNS?

  • Clear your browser cache and restart your device to ensure the new DNS settings take effect.

How can I verify if Cloudflare DNS is working?

Can I revert to my original DNS settings?

  • Yes, repeat the steps outlined above and re-enter the default DNS settings provided by your ISP or network administrator.
Was this answer helpful?