Cannot run dns over https

Please follow the below template, it will help us to help you!

will add more soon. just needed to upload the log file

Expected Behaviour:

Want to run dns over https with cloudflared

Actual Behaviour:

So when I’m trying to add 127.0.0.1#5053 as custom dns at the bottom of this guide https://docs.pi-hole.net/guides/dns-over-https/
I cannot access the internet. I do get IP and everything seems to be connected aswell.

I’m now using cloudflare as dns providers found in the dns section in settings and then internet is working fine - however it’s not DoH.

Debug Token:

https://tricorder.pi-hole.net/i3tmeonndi

Your debug log does not show Cloudflared bound to any ports:

*** [ DIAGNOSING ]: Ports in use
*:22 sshd (IPv4)
*:22 sshd (IPv6)
[*:80] is in use by lighttpd
[*:80] is in use by lighttpd
[*:53] is in use by pihole-FTL
[*:53] is in use by pihole-FTL
[127.0.0.1:4711] is in use by pihole-FTL
[[::1]:4711] is in use by pihole-FTL

Run this command to see all processes running on ports used by Pi-Hole and DNS:

sudo netstat -nltup | grep 'Proto\|:53 \|:5053 \|:5353 \|:67 \|:80 \|:471'

That’s explains it. Thanks man - will refollow the guide from the start.

You might want to reconsider DOH, after reading this. Instead, you might want to use the unbound solution.

Relevant feature requests, blocking DOH, here and here.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.