How can I configure Pi-hole to use stunnel as upstream via TCP only?

Hi,

Am I correct in my understanding of this approach:

stunnel supports an encrypted tunnel between the pihole and the upstream DoT DNS provider ?

If this is correct and stunnel is listening locally: 127.0.0.1:1053 for tcp connections, how do I configure the pihole (6.x) to talk TCP rather than UDP to its custom Upstream DNS namely stunnel on 127.0.0.1:1053 ?

Thanks

Plain DNS (Do53) is UDP by default.
It would only fall back to TCP if maximum UDP packet sizes are exceeded.

As Pi-hole handles this automatically, configuring 127.0.0.1:1053 as Pi-hole's only upstream is all you need.

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