1.1.1.1

https://1.1.1.1/
https://news.ycombinator.com/item?id=16727869

Does pihole support this?

DNS over HTTPS
(or DNS over TLS)

I added it and it seems to be working but I wanted to make sure there are no caveats

Cloudflare has a dns proxy for dns over https here:

https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/

I downloaded the ARMv6 binary for my Pi and started it with:

./cloudflared proxy-dns --port 8053

I am not quite sure how to use it with pihole though. Specifying 127.0.0.1#8053 as my upstream DNS doesn't work as it tries to lookup cloudflare-dns.com and fails.

My guess would be that there is no name resolution possible when cloudflared first starts. Pihole is trying to use the upstream you provided, but the upstream (cloudflared) needs to resolve one dns name first.

Maybe not the best solution, but try putting an entry in your hosts file (/etc/hosts) for cloudflare's dns:

1.1.1.1 cloudflare-dns.com

That should get you going.

Also, as a general note, I use stubby to perform DNS-over-TLS. The only problem with this is, depending on your os, is you might have to build it. The cloudflared (and dnscrypt-proxy 2) solutions have better portability due to use golang.

hello, i added cloudflare as my dns but how do i have all these dns's now? i would like to just have cloudflare and level 3 or just cloudflare. please advise, i restarted my system still nothing:

Thanks

Does adding 1.1.1.1 give you a secure DNS or is it just a regular DNS? Is it more involved to get DNS over HTTPS?

2 Likes

It is just regular DNS (with some privacy features in place on the resolver side). If you want your DNS queries encrypted, you will have to use something like stubby (DNS over TLS) or a DNS over HTTP client (like dnscrypt-proxy2 or cloudflared)

1 Like

thanks @iamperson347 . The Ars article I read yesterday explained it pretty well. How to keep your ISP’s nose out of your browser history with encrypted DNS | Ars Technica

1 Like

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