Skip to content

Question: How can I create a client exception in stubby? #355

@cookiemonsteruk

Description

@cookiemonsteruk

Hello. I've been using stubby for some time and I'm happy wiht it, although the lack of logging options is still in my wish list.
The way I use it is with Unbound and AdGuardHome, all on the same device.
DHCP gives the ip:53 of the router to clients.
The client request to ip:53 gets forwarded by a firewall rule to AdGuardHome daemon listening on 0.0.0.0:53
The upstream DNS servers in AdGuardHome is Unbound:5353
Unbound is configured with a forward zone ".":8053 i.e. stubby.
Stubby then does the recursion. I have mutiple DoT configured on stubby in RoundRobin.
All is gut.

Now I need to monitor packet loss and other performance of my line to aid diagnose a problem with my ISP. For this I have setup a small internal server running a utility called smokeping. That is configured to regularly measure metrics from itself i.e. an RFC1918 ip to some external DNS servers like 8.8.8.8. My setup above gets in the way and I look for suggestions in stubby to let those queries out of stubby's global configuration. How can I do that, is stubby able to be configured to create these custom configuration per client?

I have of course looked at doing the exceptions on each element in the chain but none have this ability either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions