Configuring DNS-Over-HTTPS on Pi-hole

Has anyone tried using the alternate cloudflare dns and or and in the cloudflared?

I am using and

What broke when you tried them?

I didn't read the "Note:" stating will work with other DoH providers, my bad. Nothing broke but I have not been able to install a working cloudflared. I have a Pi Zero and downloaded the 32 bit as described in the guide. With sudo I copied cloudflared to /usr/local/bin and ran chmod +x /usr/local/bin/cloudflared. Then typped cloudflared -v and got an error: Segmentation fault. So I am stuck for now. Also downloaded a bit newer version 2020.8.2 "cloudflared-linux-arm6" from Same result. I will try an older version.

Where did you read this note? Can you provide the URL for the guide you are following?

We can provide more help if you provide details.

I am using the guide provided by the admin web panel on my pihole.

Here is the note:

Configuring DNS-Over-HTTPS

Along with releasing their DNS service, Cloudflare implemented DNS-Over-HTTPS proxy functionality into one of their tools: cloudflared .

In the following sections, we will be covering how to install and configure this tool on Pi-hole .

Note: The cloudflared binary will work with other DoH providers (for example, you could use for Google's DNS-Over-HTTPS service).

I guess my question for this thread has been answered, any DNS that supports DoH should work!

Should I start a new thread on the segmentation fault?

No, you should ask whomever wrote the guide.

Edit: Or check for any issues at the cloudflared GitHub site since it's their binary that is failing.

There is an alternate download link on a Reddit post for this segmentation fault issue on the Zero.

1 Like


Thank you. I ran across before checking back. It is up and running now. The was helpful. It has a link to test after installation too:

I opened an issue on GitHub with Cloudflare.

Be well,