How to Configure CloudFlare DNS on Computer or Mobile?

Cloudflare has a Domain Name System (DNS) service designed for security and performance, and here are the steps to set up on your computer or smartphone.

Configure CloudFlare DNS on Computer or Mobile?
Configure CloudFlare DNS on Computer or Mobile?

How to Configure CloudFlare DNS on Computer or Mobile?

Every bit of your web traffic goes through a DNS – a domain name service – usually managed by your ISP. Several companies offer alternatives, allowing you to direct your traffic through faster or more secure means, and web infrastructure giant Cloudflare has released its own DNS for consumers: Cloudflare promises that its new DNS will not only be faster than the competition, but also more secure and private.

What is Cloudflare?

Cloudflare is a web infrastructure company that offers a content delivery network (CDN), distributed denial of service mitigation (DDoS), authorized DNS services as well as a consumer DNS resolution service.

Its network serves more than 6 million websites, including heavyweights â€â€such as Uber, OkCupid and Mobile Nations. Among all of its services, Cloudflare has a huge infrastructure spread across the planet, and the closer your CDN servers are to your computer, the faster it can serve content to you.

Cloudflare CDN’s size also meant that it had the potential to serve as a consumer-grade DNS system.

What is DNS and what makes the Cloudflare service unique?

DNS stands for “Domain Name System”. It is a system that allows you to connect to websites by matching readable domain names (such as with the unique ID of the server where a website is stored.

Think of the DNS system as the Internet phonebook. It lists domain names with their corresponding identifiers called IP addresses, instead of listing people’s names with their phone numbers.

When a user enters a domain name in their browser, it looks for the IP address and connects it to the physical location where the website is stored.

How does DNS work?

The Internet is a giant computer network. Each device connected to the Internet is given a unique IP address that helps other computers to identify it.

This IP address is a sequence of numbers with dots like this: 000,000,000,000,000. Now imagine if you had to remember these long strings of numbers to visit your favorite websites. They are hard to remember and don’t say anything about the site.

Domain names were invented to solve this problem by using letters that can remember words, thus allowing users to select easy-to-remember names for their websites.

DNS basically translates these domain names into IP addresses and points your device in the right direction. A domain name and its corresponding IP address are called a “DNS record”. Here’s a simple way to understand how DNS works in four steps.

Suppose you want to visit our website

  1. You open your browser and type in the address bar and press Enter on your keyboard. Immediately there is a quick check to see if you have visited our site before.
  2. If DNS records are found in your computer’s DNS cache, the rest of the DNS lookup will be ignored and you will be taken directly to
  3. If no DNS record is found, a query will be sent to the local DNS server. Usually, this is your internet provider’s server.
  4. If the records are not cached on the server, the request will be forwarded to what is called the “root name server” to find the DNS records. Root name servers are designated servers around the world that are responsible for storing DNS data and keeping the system running smoothly. Once the DNS record is found on the root name server, it is cached by your computer.
  5. Now that the DNS records are located, a connection to the server where the website is stored will open and will be displayed on your screen.

CloudFlare DNS Is Faster and More Secure

According to Cloudflare, the average latency is around 14 ms, making it the DNS resolver faster everywhere (the average public DNS latency Google is 34 ms).

Along with speed, Cloudflare is also promoting greater privacy by promising that user logs will never be stored on disk and that logs will be purged every 24 hours.

Cloudflare Free DNS IP Addresses

These are the IP addresses to configure Cloudflare’s consumer DNS service on a computer or router.

IP version 4


IP version 6

  • 2606: 4700: 4700 :: 1111
  • 2606: 4700: 4700 :: 1001

How to Configure Cloudflare DNS Directly on Your Router

The best way to change your current DNS settings to start using Cloudflare is to reconfigure your router. Using this approach automatically configures all devices in the house (such as desktop, notebook, tablet, smartphones, game consoles, and smart TV), rather than configuring each device individually.

To configure your router to use Cloudflare DNS addresses, do the following:

Important:The instructions for setting up may be different on your router. Before proceeding, check the manufacturer’s support website for more specific details.

1. Open your web browser.

2. Enter your router’s IP address and press Enter.

3. Log in using the router username and password as needed. (Usually you will find this information on a sticker on your router.)

4. Open the DNS server settings page. Consult the router manufacturer’s support website to locate these settings. However, most of the time these settings can be found in the advanced settings section. Here’s the place to get the DNS settings on some of the most popular brands of home routers:

  • Linksys:Configuration>Basic Configuration.
  • ASUS :WAN>Internet Connection.
  • Google Wifi:Settings>Network & General>Advanced Network>DNS.
  • Netgear:Internet.
  • D-Link:Manual Internet Connection Setup.

5. In the DNS settings section, use these IPv4 addresses:


6. Save your settings.

7. Restart your browser.

After completing the steps, restart your computer to begin using the new settings.

Alternatively, you can open Command Prompt and run these two commands:

  • ipconfig /flushdns
  • ipconfig /renew

These commands will clear the DNS Resolver cache on your device and request a renewal of IPv4 settings.

It is important to note that you do not need to apply IP version 6 addresses on your router if your network is already using IP version 4. However, if you need to use IPv6 addresses, you must enter them in the IPv6 DNS configuration page on your router.

  • 2606:4700:4700::1111
  • 2606:4700:4700::1001

How to Configure the Cloudflare DNS service on Windows 10

Alternatively, if configuring your router is a bit challenging, or if you want to use Cloudflare’s DNS settings on all networks you connect, including public networks (eg coffee shop and airport), with your notebook or tablet, you can configure DNS Settings in Windows 10 instead of configuring your router.

To configure Cloudflare DNS settings on Windows 10, do the following:


  1. Open the Start Menu.
  2. Search Control Panel and click on the main result.
  3. Click Network and Internet.
  4. Click Network and Sharing Center.
  5. Click Change adapter settings.
  6. Right-click the Wi-Fi or Ethernet adapter you are using to connect to the Internet and select the Properties option.
  7. Select the Internet Protocol Version 4 (TCP / IPv4) option.
  8. Click on the Properties button.
  9. Select the Use the following DNS server addresses option.
  10. In the “Preferred DNS Server” field, enter this IPv4 address:
  11. In the “Alternate DNS Server” field, enter this IPv4 address:
  12. Click OK.


  1. If Internet Protocol version 6 (TCP / IPv6) is enabled in the network adapter properties, select the option.
  2. Click on the Properties button.
  3. Select the Use the following DNS server addresses option.
  4. In the “Preferred DNS Server” field, enter this IPv6 address: 2606:4700:4700::1111
  5. In the “Alternate DNS Server” field, enter this IPv6 address: 2606:4700:4700::1001
  6. Click OK.
  7. Click Close.

After completing the steps, the device will contact Cloudflare servers to resolve domain names (eg

The steps mentioned above focus on Windows 10, but the instructions will also work on Windows 8.1 and Windows 7.

CND CloudFlare Configuration on MacOS

DNS1.1.1.1setup is very fast and does not require any special technical skills or software. Even if you’re new to the Apple OS, choose your device below for an easy-to-follow setup guide.

  1. Open System Preferences.
  2. Click Network.
  3. Click Advanced.
  4. Look for the DNS tab and select it.
  5. Click the + button to add a DNS server and enter
  6. Click + again and type (This is for redundancy.)
  7. Click + again and type 2606: 4700: 4700 :: 1111 (This is for redundancy).
  8. Click + again and type 2606: 4700: 4700 :: 1001 (This is for redundancy).
  9. Click OK and Apply.
  10. All ready! Your device now has faster and more private DNS servers.

CloudFlare CND Configuration on Android

  1. Go to “Settings”.
  2. Click on “Connections”.
  3. Click on your WiFi network name.
  4. Hold on your network name until the option “Manage network settings” appears.
  5. Check the option “Show advanced options”, and under “IP Settings” change from “DHCP” to “Static”.
  6. Scroll down to DNS options.
    In “DNS 1”, enter the IP “”.
    In DNS 2, put the IP “”.
  7. Finally, click on “Save”.

CND CloudFlare Setup on iPhone

  1. Go to “Settings”.
  2. Click on the “WiFi” option.
  3. Next to your connection, click the “i” icon to access your settings.
  4. Click “Configure DNS” and change from “Automatic” to “Manual”.
  5. Change DNS to IP “”.
  6. To set the secondary DNS, click the + icon and enter the IP “”.
  7. Click on “Save”.

Leave a Reply

Your email address will not be published. Required fields are marked *