-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
Description
I want to use stubby with my local bind9 as a forwarder. However I also use stunnel to provide port 853 with local bind for internal DNS-over-TLS queries. For instance my FireTV does need this to get local addresses resolved (only uses DoT and falls back to google, if non is found locally).
It now seems that stubby identifies the local bind answering queries on 127.0.0.1:853 and sends queries to my local bind installation, which then forwards this query back to stubby, which forwards back to bind - and so on. I get a circular dns query queue that slows down everything.
I was not able to identify a switch to prevent stubby from sending queries to local bind, if it is reachable over 853.
What I need is:
- query from local network reaches bind via :53 or via :853
- bind forwards to stubby on 127.0.0.1:10053, if needed
- stubby only forwards to defined forwarders