cyberworm-uk / dohot-service

DNS over HTTPS over Tor with PiHole and DNSCrypt-Proxy
The Unlicense
8 stars 4 forks source link

dohot without pihole #3

Closed eleaner closed 1 month ago

eleaner commented 1 month ago

Hi

What would I need to do to use dohot without pihole? I am not interested in add filtering would it make sense?

cyberworm-uk commented 1 month ago

It would make sense. The original creation of DoHoT (Alec Muffet's project linked in the readme) is without the PiHole front end too.

The first two containers, tor-proxy and doh-proxy are all that's needed for a working doh-over-tor setup.

If you wished to remove PiHole entirely from the stack you'd just want to run the tor-proxy and doh-proxy containers only. You could then either bind the default internal doh-proxy port of 5054 to port 53 on the host, (e.g. docker run ... -p 53:5054 ...) or look at editing the listen_address line in the dnscrypt-proxy.toml configuration file and supply that as a replacement configuration.

We basically have the fully working DNS resolver that's normally at port 5054, which we configure PiHole to use as it's upstream resolver. PiHole is really only there as a friendlier interface.

(I'll consider adding some alternative example setup files for docker-compose and podman that don't include PiHole)