Cloudflare Family DNS: 1.1.1.2 and 1.1.1.3 addresses and setup

Cloudflare Family DNS (1.1.1.1 for Families) is a free DNS filter with two levels. Set 1.1.1.2 and 1.0.0.2 to block malware, or 1.1.1.3 and 1.0.0.3 to block malware and adult content. Enter the addresses in your router or device network settings. The filtering is fixed: there are no allow lists, schedules or per-device profiles.
This page lists every address (IPv4, IPv6, DNS over HTTPS and DNS over TLS), the setup steps for Windows, how to check that the filter works, and what the service cannot do.
Cloudflare Family DNS addresses
Cloudflare Family DNS uses three resolver pairs: 1.1.1.1 with no filtering, 1.1.1.2 for malware blocking, and 1.1.1.3 for malware and adult content blocking. Each pair has a primary and a secondary address, plus IPv6 equivalents. Use both addresses of the same pair, because mixing a filtered and an unfiltered resolver lets some lookups skip the filter.
| Level | IPv4 | IPv6 |
|---|---|---|
| No filtering | 1.1.1.1 and 1.0.0.1 | 2606:4700:4700::1111 and 2606:4700:4700::1001 |
| Malware blocking | 1.1.1.2 and 1.0.0.2 | 2606:4700:4700::1112 and 2606:4700:4700::1002 |
| Malware and adult content | 1.1.1.3 and 1.0.0.3 | 2606:4700:4700::1113 and 2606:4700:4700::1003 |
For encrypted lookups, Cloudflare publishes DNS over HTTPS and DNS over TLS endpoints for the two filtered levels. The malware-only endpoint is security.cloudflare-dns.com (DoH URL: https://security.cloudflare-dns.com/dns-query). The malware and adult content endpoint is family.cloudflare-dns.com (DoH URL: https://family.cloudflare-dns.com/dns-query). DNS over TLS uses port 853 on the same hostnames. Cloudflare documents the full list on its 1.1.1.1 setup page.
How to set up Family DNS on Windows
To use Cloudflare Family DNS on Windows 11, open Settings, choose your network adapter, edit the DNS server assignment, switch it to Manual and enter the addresses for the level you want. Cloudflare documents this path in its Windows setup guide. The change applies to that adapter only, so repeat it for Wi-Fi and Ethernet if you use both.
- Open Start, then Settings, then Network and Internet, and select Wi-Fi or Ethernet.
- Open the properties of your connection and select Edit next to DNS server assignment.
- Change the dropdown from Automatic to Manual.
- Turn on IPv4 and enter 1.1.1.3 as the preferred DNS and 1.0.0.3 as the alternate (or the 1.1.1.2 pair for malware only).
- Turn on IPv6 and enter 2606:4700:4700::1113 and 2606:4700:4700::1003 (or the ::1112 and ::1002 pair).
- Select Save.
On Windows 10 the older route still works: open Network and Internet, choose Change adapter options, right-click the active connection, select Properties, then edit the properties of Internet Protocol Version 4 and Version 6 and choose "Use the following DNS server addresses".

Set Family DNS with PowerShell
PowerShell can set Cloudflare Family DNS on a Windows adapter with one cmdlet, Set-DnsClientServerAddress. This is useful for several adapters or for scripted setups, and it needs an elevated console.
- Press Windows-X and select Terminal (Admin) or Windows PowerShell (Admin), then confirm the UAC prompt.
- Run Get-NetIPConfiguration and note the InterfaceIndex of the adapter you use (the InterfaceAlias helps if several are listed).
- Run Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 1.1.1.3, 1.0.0.3 and replace 10 with your index. Use 1.1.1.2, 1.0.0.2 for malware blocking only.
- To undo the change, run Set-DnsClientServerAddress -InterfaceIndex 10 -ResetServerAddresses.

Routers, Linux, macOS, Android and iOS are covered in Cloudflare's setup documentation. Setting the addresses on the router filters every device on the home network at once.
What Family DNS blocks and what it cannot do
Cloudflare Family DNS blocks by domain name only. It answers lookups for domains on its malware and phishing lists, and on the adult content list for the 1.1.1.3 pair, with 0.0.0.0, so the page never loads. Cloudflare's documentation describes only these two filter levels and gives no allow list, block list, schedule or per-device profile.
This has practical limits. A site that is wrongly blocked can only be reported to Cloudflare as miscategorized or reached by switching to another resolver. Filtering applies to the network or device where you set it, so a phone on mobile data ignores your router settings. It also does not filter content inside an allowed domain, such as a single video on a general site.
Anyone who can change network settings can switch to another DNS server, and a browser with its own DNS over HTTPS setting can bypass the system resolver. Parents who rely on this filter should lock the router admin page and check browser secure DNS settings (see how to enable secure DNS in Chrome, Brave, Edge and Firefox). DNS filtering is a first layer, not a replacement for supervision or device-level parental controls.
How to check that the filter works
To check Cloudflare Family DNS, run nslookup against a resolver or use a browser DNS check, and confirm that the resolver in use is the family one. A quick test is nslookup example.com 1.1.1.3, which should return the normal address, while a domain on the malware or adult content list returns 0.0.0.0 instead.
You can also verify which DNS your browser really uses with a secure DNS and encrypted SNI check, since a browser may ignore the system setting. If lookups slow down after the change, compare resolvers with a DNS benchmark tool before deciding.
History of 1.1.1.1 for Families
Cloudflare introduced 1.1.1.1 for Families on April 1, 2020, as an extension of the 1.1.1.1 public resolver that launched on April 1, 2018. Cloudflare presented it as a filtering option for home users in its launch announcement. Similar filtered DNS services, such as OpenDNS, existed before it.
FAQ
What is the difference between 1.1.1.2 and 1.1.1.3?
1.1.1.2 blocks malware and phishing domains only. 1.1.1.3 blocks the same threats plus adult content.
Is Cloudflare Family DNS free?
Yes, the 1.1.1.2 and 1.1.1.3 resolvers are free public resolvers and need no account. They also have no management dashboard.
Can I use Family DNS on a phone?
Yes. You can set the addresses per Wi-Fi network, use Cloudflare's setup guides for Android and iOS, or enter the family.cloudflare-dns.com hostname where Private DNS or encrypted DNS is supported.
Why is a safe site blocked?
Domain lists can be wrong. Report the domain as miscategorized to Cloudflare, or switch that network to 1.1.1.2 or 1.1.1.1 if the block is for an adult content category.
Related: Secure DNS in browsers, AdGuard DNS, DNS benchmark tools
Yandex DNS 4 Life, USA dns go to Hell !!
Yandex sucks. Cloudflare is an independent company, allowing them to not store users’ records, and they remove all logs every 24 hours. If you trust Yandex does that better than Cloudflare, fine. Personally, I don’t trust trust anything connected to mother Russia.
Good morning Martin,
I tested yesterday the 1 1 1 3 and 1 0 0 3 and they worked fine.
Except that today, problem, it doesn’t work anymore, pornographic sites are not filtered anymore (I wanted to protect my children).
I wanted to contact them to ask them if there was a technical problem, they deleted all my messages from the comments area, someone tested them today?
Could anyone tell me if DNS over HTTPS works on all sites even if they are HTTP or does it only work on sites that are HTTPS?
DNS lookups are independent and work regardless of the protocol a site uses.
Thank you.
Having a lot of issues with the 1.1.1.3 variant with YouTube videos blocked or prompting to log in.
Had to stop using Cloudflare DNS a while ago because many sites simply wouldn’t load or load correctly with Cloudflare.
For example, if you’re using Cloudflare right now, try loading archive.is and I bet you it still doesn’t work…
Anonee, — https://twitter.com/archiveis/status/1018691421182791680
Next time do some research before you run your ignorant mouth on the Internet.
@Anonee2, uhh yeah, exactly.
Thanks for posting that tweet showing that archive.is doesn’t work with Cloudflare dns. There are many other sites I had problems with as well until I got fed up and finally just dumped cloudflare.
@Notanon. Yes. Sick world.
Your have forgotten the DOH addresses in the article
Q: Does 1.1.1.1 for Families support DNS over HTTPS?
R: Yes, to block malware, use https://security.cloudflare-dns.com/dns-query
to block malware & adult content, usehttps://family.cloudflare-dns.com/dns-query.
Q: Does 1.1.1.1 for Families support DNS over TLS ?
R: No. But our team is working on it.
Seems stupid & pointless by Cloudflare, if they allow LGBTQXYZ sites on the “Adult filter” 1.1.1.3.
“The Mistake that Caused 1.1.1.3 to Block LGBTQIA+ Sites Today”
https://blog.cloudflare.com/the-mistake-that-caused-1-1-1-3-to-block-lgbtqia-sites-today/
So you’re telling parents their children are safe on 1.1.1.3, but Cloudflare allows sites will show underaged an underaged dancing in drag to stripper music, while LGBTQXYZ people throw money at him & tell children how “stunning & brave” the child is.
So tranny dick porn is okay (because it’s LGBTQXYZ), but regular porn is forbidden.
Clown world.
That’s the pseudo liberals for you. It’s a messed up world.
Martin, you’ve missed out the IPs for malware and adult content blocking.
A nice thing about the 1.1.1.1 service is that cloudflare has a “tester” page at
1.1.1.1./help
where you can verify that 1.1.1.1 is actually being used. They do not seem to have an equivalent thing for the two new services.
If you set manual DNS in your router then you might see a third DNS resolver field. I suggest filling this in as leaving it blank lets devices use default resolvers if the first two don’t work.
For the third entry either put in OpenDNS normal DNS of 1.1.1.1 or any one of the following filtering DNS servers (I’m sure other folks will list others too). Some of these have varying degrees logging of DNS requests so do your research for what you need.
Quad9: 9.9.9.9
OpenDNS: 208.67.222.123 (their free version)
CleanBrowsing: 185.228.168.9
Norton ConnectSafe (Malware, Phishing and Scam sites): 199.85.126.10
Comodo Secure: 8.26.56.26
It blocks a lot of Youtube videos: https://blog.cloudflare.com/introducing-1-1-1-1-for-families/
I don’t believe it has much to do with safe search. Innocent stuff like organ music is blocked.
Is it just me? When I used the adware and adult DNS it caused all of the YouTube comment and playlist etc. stuff to disappear. All I was left with was just the video.
malware blocking seems nice (not really interested in adult content censorship).
but even with 1.1.1.2, i’m curious, who gets to decide what is malware?
meaning, there is nothing to stop cloudflare from flagging some website as malware for example on grounds of some business interests conflict between them..
so i will continue using 1.1.1.1 for now
I use Adguard DNS with ad blocking …it does very good job.
1.1.1.2 and 1.0.0.2. Check. Just added to my router at the top of the list.
Every little bit helps.
This was added to my pfSense / pfBlockerNG blocking of a large number of sites. Pihole also works well for those with retail routers and a spare device for pihole.
Yandex on PC, Adguard on phone.
I have been using the Cloudflare DNS for a long time. I only had a problem with it once. I was trying to connect to the internet in a hotel. I set the DNS back to automatic, and I got a connection. When I showed it to the hotel IT support guy, he told me that he would make sure it works the next time I stay with them.
more censorship! great!
Fortunately, you don’t have to use the one with filtering. So no censorship!
I’ve been using OpenDNS since DNS over HTTPS became a thing, with no issues thus far.
For websites I’ve been using Cloudflare for almost a decade now, also without any issues whatsoever. These days I’m somewhat trying to avoid them just out of principle.
What about for IPv6?
Added, thanks!
I hope they expand the filtering options, as with nextdns’ many options. I still use 1.1.1.1 generally, as it is fastest and nearby with good feedback options for testing.
It all reminds me of when the 14 year old nephew was around, I had to use opendns pr0n and gambling filtering, as he was becoming an “enthusiast”.
NextDNS.io is better, even providing analytics, selectable block lists, and white/black listing as well as logs and device detail.
Supports direct, DoH and DNS over TLS (Stubby), and they have apps to create vpn type filters for devices.
Cloudflare isn’t blocking trackers, facebook libraries in apps trying to grab your phone logs and contacts, and the rest.