Cloudflare DNS is a free public DNS resolver at 1.1.1.1 and 1.0.0.1, launched by Cloudflare with APNIC in April 2018. It translates domain names into IP addresses faster than most ISP resolvers, does not sell your data to advertisers, supports encrypted DNS over HTTPS and DNS over TLS, and validates DNSSEC. A filtered variant, 1.1.1.1 for Families, also blocks malware and adult content.
Key takeaways
- Cloudflare DNS (1.1.1.1) is a free recursive resolver that replaces your ISP's DNS with a faster, privacy-focused alternative.
- It supports DNS over HTTPS and DNS over TLS, validates DNSSEC, and does not send client IP data to authoritative servers.
- 1.1.1.1 for Families adds malware and adult-content filtering; the 1.1.1.1 app adds WARP, which encrypts all device traffic.
Every website you visit starts with a DNS lookup: your device asks a resolver to turn a name like cloudflare.com into an IP address. Most people use their internet provider's resolver without ever choosing it. Cloudflare DNS, at the memorable address 1.1.1.1, is the free alternative millions of people switch to for speed and privacy.
What is Cloudflare DNS?
Cloudflare DNS is a free public DNS resolver operated by Cloudflare. Its primary addresses are 1.1.1.1 and 1.0.0.1 for IPv4, and 2606:4700:4700::1111 and 2606:4700:4700::1001 for IPv6. It was launched on April 1, 2018, in partnership with APNIC, which provided the addresses, as Cloudflare explains in its 1.1.1.1 documentation.
A DNS resolver is like an address book for the internet. When you type a domain name into your browser, your computer cannot contact the site on its own: it needs the IP address of the server hosting it. Your computer sends the request to a resolver, the resolver finds the address, and your browser connects.
Most people use the resolver assigned by their internet service provider. Cloudflare says switching to 1.1.1.1 gives you a faster, more private alternative, and that unlike most DNS resolvers, it does not sell user data to advertisers. It runs on Cloudflare's network in hundreds of cities worldwide.
How does Cloudflare DNS work?
When your device asks 1.1.1.1 for a domain, the resolver walks the DNS hierarchy: it asks a root server which server handles the top-level domain, asks that server which nameserver holds the domain's records, then asks the nameserver for the IP address. It caches the answer so the next lookup is instant.
Cloudflare's advantage is that it is also one of the largest authoritative DNS providers, hosting records for millions of domains. Because the recursive resolver and many authoritative records sit on the same network, a large share of lookups never leave Cloudflare's infrastructure, which is why it is fast, as described in Cloudflare's launch announcement.
The addresses use anycast routing: the same IP, 1.1.1.1, is announced from every Cloudflare location at once, and internet routing automatically sends your query to the nearest one. That is why the same address works everywhere in the world.
Is Cloudflare DNS private?
Cloudflare built 1.1.1.1 with several privacy protections that most ISP resolvers lack. It supports DNS over HTTPS and DNS over TLS, which encrypt your queries so nobody on your local network or at your ISP can read or tamper with them. It also uses query name minimization, defined in RFC 7816, so it only sends each server the minimum part of the name it needs.
Two more details matter. First, 1.1.1.1 does not include client IP information in its queries to authoritative servers, so the sites' nameservers never learn who is asking. Second, Cloudflare says it does not sell user data to advertisers and does not write client IPs to disk.
That said, DNS privacy is not total privacy. Cloudflare itself can see your queries, and the websites you visit still see your IP address. If you need to hide your IP or your traffic from your ISP entirely, you need a VPN or WARP, not just a different resolver.
Cloudflare DNS vs your ISP's DNS
The resolver your ISP assigns is usually slower and less private than a dedicated public resolver. ISP resolvers are often used to log browsing, inject advertising or redirect mistyped domains to search pages, and they rarely support encrypted DNS.
| Feature | Cloudflare DNS (1.1.1.1) | Typical ISP DNS | Google DNS (8.8.8.8) |
|---|---|---|---|
| Price | Free | Included with broadband | Free |
| Speed | Measured fastest public resolver | Varies, often slower | Very fast |
| Encrypted DNS (DoH/DoT) | Yes | Rarely | Yes |
| DNSSEC validation | Yes | Sometimes | Yes |
| Sells user data | No, stated policy | Depends on ISP | No sale; logged per policy |
| Malware filtering | Only in 1.1.1.1 for Families | Sometimes | No |
| Client IP sent upstream | No | Often yes | Yes, with EDNS Client Subnet |
Google DNS is the closest rival: fast and reliable, but it forwards part of your IP address to authoritative servers for geo-targeting, which Cloudflare refuses to do. If privacy is your main reason for switching, Cloudflare is the stronger choice. You can check which resolver you are using right now with our free DNS lookup tool.
What is 1.1.1.1 for Families?
1.1.1.1 for Families is a filtered version of the same resolver, aimed at homes and schools. It adds protection against malware and adult content on top of the standard service, with no account or software needed.
There are two variants. Use 1.1.1.2 and 1.0.0.2 to block malware only, or 1.1.1.3 and 1.0.0.3 to block malware and adult content. The IPv6 addresses follow the same pattern: 2606:4700:4700::1112 and ::1002 for malware, ::1113 and ::1003 for malware plus adult content.
Filtering happens at the DNS level, so it covers every device that uses the resolver, including phones, tablets and smart TVs. It is not a full parental-control system: it cannot set time limits or filter specific apps, and anyone who can change DNS settings can turn it off.
How do I set up Cloudflare DNS?
Setup takes minutes and needs no special software. You can change the resolver on one device or on your router, which covers every device on your home network at once.
- On your router: open the router settings, find the DNS section, and set the primary DNS to 1.1.1.1 and the secondary to 1.0.0.1. Save and restart the router.
- On Windows: open Settings, then Network, then your connection's DNS settings, and enter 1.1.1.1 and 1.0.0.1 as the preferred and alternate servers.
- On macOS: open System Settings, then Network, then your connection, and add 1.1.1.1 and 1.0.0.1 in the DNS tab.
- On iPhone or Android: install the free 1.1.1.1 app, which configures the resolver for you and adds encrypted DNS automatically.
- Verify it worked: visit 1.1.1.1/help in your browser, or run a lookup and confirm the resolver responds.
For encrypted DNS, use the DoH endpoint at https://cloudflare-dns.com/dns-query or the DoT hostname one.one.one.one. Most modern browsers also let you pick Cloudflare as the secure DNS provider in their settings. If your network blocks custom DNS, the app version works around that by using DoH.
What is WARP, and how is it different?
WARP is a VPN-like service built into the 1.1.1.1 app, released in September 2019. It is based on Cloudflare's own WireGuard implementation, BoringTun, written in Rust. WARP tunnels the connection between your device and the nearest Cloudflare data center, encrypting your DNS requests and your other traffic too.
The key difference is scope. Cloudflare DNS only encrypts and speeds up DNS lookups; the websites you visit still see your real IP address, and your ISP can still see which servers you connect to. WARP encrypts all traffic from your device, hiding it from intermediaries such as local network operators and ISPs.
WARP is not designed to hide your location the way a privacy VPN is: it connects you to the nearest data center rather than letting you pick a country. The free version covers basic use, and WARP+ is a paid monthly subscription with no data limits. For most people on public Wi-Fi, turning on WARP in the 1.1.1.1 app is the simplest upgrade. Our guide to securing your Wi-Fi network covers the other steps worth taking on shared networks.
What can go wrong with Cloudflare DNS?
A few issues are worth knowing before you switch. First, some networks and services block or override third-party DNS, so your queries may silently fall back to the ISP resolver. If a site behaves oddly after switching, check that 1.1.1.1 is actually in use.
Second, Cloudflare stopped supporting the ANY query type in 2015, which affects a small number of diagnostic tools but not normal browsing. Third, if you use a service that relies on your resolver's location for content routing, such as some streaming or gaming services, results can occasionally differ from your ISP's resolver.
Finally, remember that DNS is only one piece of your connection. A fast resolver does not fix a slow broadband line, and it does not encrypt the websites you visit. Pair it with HTTPS everywhere and, on public Wi-Fi, with WARP or a VPN. You can check whether a site is serving HTTPS correctly with our free SSL checker.
The bottom line
Cloudflare DNS is a free, fast and genuinely more private replacement for your ISP's resolver. Set 1.1.1.1 and 1.0.0.1 on your router or install the app, and you get encrypted DNS, DNSSEC validation and no sale of your data to advertisers. Families can use 1.1.1.3 for malware and adult-content filtering at no cost.
If you want more than DNS privacy, turn on WARP in the same app to encrypt all of your device's traffic. Either way, the change takes minutes and is easy to reverse. Check your current setup first with the free what-is-my-IP tool to see what your connection currently reveals.
Frequently asked questions
What is Cloudflare DNS?
Cloudflare DNS is a free public DNS resolver, reached at 1.1.1.1 and 1.0.0.1. When you type a domain name into your browser, it translates that name into an IP address so your device knows which server to contact.
Is Cloudflare DNS free?
Yes. The 1.1.1.1 resolver is free, and setting it up takes minutes with no special software. The 1.1.1.1 app is also free, with an optional paid WARP+ subscription for unlimited data.
Is 1.1.1.1 safe to use?
Yes. Cloudflare DNS supports encrypted DNS over HTTPS and DNS over TLS, validates DNSSEC signatures, and says it does not sell user data to advertisers. It does not hide your IP address from websites you visit — that needs a VPN.
What is the difference between 1.1.1.1 and 1.1.1.1 for Families?
Standard 1.1.1.1 resolves domains without filtering. 1.1.1.1 for Families uses 1.1.1.2 to block malware and 1.1.1.3 to block malware plus adult content, on top of the standard resolver.
Does Cloudflare DNS make my internet faster?
It can. Cloudflare's resolver runs on its network in hundreds of cities worldwide and has been measured as the fastest public DNS resolver. Faster DNS lookups shorten the delay before a page starts loading, though they do not increase your connection speed.
What is the difference between Cloudflare DNS and WARP?
Cloudflare DNS only handles DNS lookups. WARP, built into the 1.1.1.1 app, encrypts all traffic from your device through a tunnel to the nearest Cloudflare data center, like a lightweight VPN.
Should I use Cloudflare DNS or Google DNS?
Both are fast public resolvers. Cloudflare emphasizes privacy: it does not sell user data, does not send client IP information to authoritative servers, and uses query name minimization. Google DNS (8.8.8.8) is a solid alternative if you already use Google services.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Cloudflare's own 1.1.1.1 documentation and FAQ, the Cloudflare launch blog post and the 1.1.1.1 reference page.
How we write and fact-check →