I don't think Pi-Hole can query DoT and DoH resolvers directly. People usually set up unbound or AdGuard's dnsproxy, configure it to forward queries to the DoT/DoH resolver and set it as Pi-Hole's upstream resolver.
This.
As someone that has their Pihole talking to DoH Mullvad upstream, what is described above is exactly how I did it.
You could use Blocky for this. It can do both, apply some block lists and use DoT/DoH resolvers.
I switched from pihole to Blocky and I love it way more. Works like a charm with dnscrpyt and android
Pi-hole with cloudflared or dnscrypt-proxy are what the docs recommend.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!