How do I configure Cloudflare DNS ( on DD-WRT?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions
Author Message
DD-WRT Novice

Joined: 16 Oct 2010
Posts: 6

PostPosted: Fri Jan 25, 2019 15:04    Post subject: How do I configure Cloudflare DNS ( on DD-WRT? Reply with quote
I am currently on a mesh wifi network made up of five Netgear WNDR 3300 routers and one WNDR 3700 router. The 3700 is my main router connected to the cable modem. The firmware is DD-WRT v24-sp2 (05/27/13) mini (SVN revision 21676).

I wanted to setup cloudflare DNS service on the main router. The instructions on their website ask to update the DNS address to - I did that under Setup > Basic Setup > Network Address Server Settings (DHCP) > Static DNS 1 (also changed Static DNS 2 to (which was also recommended)).

According to most sources, this should change the DNS of all devices. But whenever I try to test it on a Windows 10 command prompt via ipconfig /all - it shows DNS address to be (router's ip address).

This brings a few questions to my mind:

1. I am pretty sure I don't need to update anything on the routers working as extenders for the WiFi network - but may be I do?

2. Is it possible that the router is using the cloudflare service but Windows is not showing the router's DNS address but a generic address for the router? In that case, how can I verify that it is indeed using cloudflare?

3. Or may be it didn't work, and I need to change some other setting?

I did not notice any change in the speed after changing the DNS address, but it might be because it's really not noticeable.

I am reluctant to use any scripts due to my unfamiliarity with them and also because I will be moving out of this location soon and will probably get a new router so it isn't worth it investing time in perfecting my current setup.

Joined: 04 Aug 2018
Posts: 992
Location: Appalachian mountains, USA

PostPosted: Mon Feb 04, 2019 16:09    Post subject: Reply with quote
Seeing is entirely proper. Your Windows system queries the router at that address, and the router queries Cloudflare.

To check whether you are actually using Cloudflare, the only way I know is to visit (or, look for the IPv4 DNS-server addresses it shows, and compare them to the IPv4 IP-address ranges shown in in CIDR notation. (The CIDR concept: CIDR range means translate the four numbers before the slash to eight-bit binary and take the first 22 bits of the 32 as required and the rest as wild cards. Plenty of googlable tutorials online.) If you are also using IPv6 in your router (its disabled in mine, per NordVPN's OpenVPN config instructions), you'll also have to sort out the funky IPv6 notation. More googling. If you do have IPv6 enabled, you are definitely out of my league, but you might need to also enter Cloudflare DNS info for IPv6. I came across this, fwiw:,news-26964.html.

I have no clue whether dd-wrt mini is maxi enough to support DNSCrypt, but if it is and you want to use DNSCrypt to interact with Cloudflare's DNS servers to get some extra spoofing protection, that can most likely be done the in the same way I set up Quad9 with DNSCrypt on my router. See (my second post in that thread) and take a look in the Background and References section at the end. You should be able to copy the "stamp" for Cloudflare from the "master dnscrypt server list" cited there and paste it into the stamp decoding tool cited further down in that paragraph to get the parameters you need for the dnscrypt-proxy command line.

And if dd-wrt mini is too mini for that maxi approach, file under "things to think about for the next main-router upgrade someday"!

Good luck with this and the dd-wrt learning curve in general. It can be quite a project to come up on all the angles involved in getting the setup you really want.

Five WRT1900ACSv2's on 42926, 44048.
VLANs, VAPs, NAS, client-mode travel router, OpenVPN client (AirVPN), DDNS, wireguard servers, wireguard clients (AzireVPN), two DNSCrypt DNS providers (incl Quad9) via OpenVPN/wireguard clients.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions All times are GMT


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum