Configuring DNS-Over-HTTPS on Pi-hole

Has anyone tried using the alternate cloudflare dns 1.1.1.2 and 1.0.0.2 or 1.1.1.3 and 1.0.0.3 in the cloudflared?

I am using 1.1.1.2 and 1.0.0.2

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 https://github.com/cloudflare/cloudflared/releases. 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.

https://docs.pi-hole.net/guides/dns-over-https/

Here is the note:

Configuring DNS-Over-HTTPS

Along with releasing their DNS service 1.1.1.1, 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 https://8.8.8.8/dns-query 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.

https://hobin.ca/cloudflared/

1 Like

JFB,

Thank you. I ran across before checking back. It is up and running now. The https://bendews.com/posts/implement-dns-over-https/ was helpful. It has a link to test after installation too: https://en.internet.nl/connection/a870b5348f854ef8935b81af1c6698f9/results

I opened an issue on GitHub with Cloudflare.

Be well,

BigLittle