Skip to content

stubby seems to automatically question local bind9 #333

@quippy-git

Description

@quippy-git

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions