Setting up DoT #179
-
So I'm trying to set up DoT to secure my DNS traffic. I've tried adding Currently my config file has the following:
I am running blocky in a docker container based on repo with metric. My setup works when I just add a normal IP in to the upstream resolver. The DNS I am trying to add is the following CIRA Shield but it would also apply to Quad9 as the give their DoT in the same format. My docker container is currently only open to port 53 and 4000. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Hi, there a 2 different things: configuration of upstream DNS servers and configuration of blocky. To use an external DNS resolver with TLS, just configure Another thing is configuraiton of blocky: blocky can serve DNS over port 53 (DNS UDP and TCP) without encryption or DNS-over-HTTPS (aka DoH) with encryption. Blocky doesn't provide DoT as endpoint. If you want to use DoH, you can follow the guide (https://github.com/0xERR0R/blocky/wiki/Configuration-of-HTTPS-for-DoH-and-Rest-API) or simple put blocky behind a reverse proxy with encryption (e.g. traefik). Please consider, if you use blocky only in your home network, without access from outside, I would recommend to use UDP via port 53, this is much faster and you don't need traffic encryption at home (use encrypted external DNS via DoT/DoH). If blocky is reachable from the internet, I would recommend to use DoH. |
Beta Was this translation helpful? Give feedback.
Hi, there a 2 different things: configuration of upstream DNS servers and configuration of blocky.
To use an external DNS resolver with TLS, just configure
tcp-tls:protected.canadianshield.cira.ca:853
, your example is correct. Blocky will contact this external DNS server with TLS.Another thing is configuraiton of blocky: blocky can serve DNS over port 53 (DNS UDP and TCP) without encryption or DNS-over-HTTPS (aka DoH) with encryption. Blocky doesn't provide DoT as endpoint. If you want to use DoH, you can follow the guide (https://github.com/0xERR0R/blocky/wiki/Configuration-of-HTTPS-for-DoH-and-Rest-API) or simple put blocky behind a reverse proxy with encryption (e.g. traefik).
Please …