stubby icon indicating copy to clipboard operation
stubby copied to clipboard

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

Open cookiemonsteruk opened this issue 1 year ago • 3 comments

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.

cookiemonsteruk avatar Mar 01 '24 11:03 cookiemonsteruk

@saradickinson - is stubby now abandoned or set to maintenance mode? Seems no new or changed functionality in 2 years. No problem if it is, good while it lasted (past tense as there are improvements not yet done, i.e. logging to file). I'll look for an alternative if needed.

cookiemonsteruk avatar Mar 06 '24 14:03 cookiemonsteruk

I do have client DoH functionality lying on the shelf for getdns. Just looking for a quite moment to do another maintenance release...

wtoorop avatar Mar 06 '24 15:03 wtoorop

glad to hear that @wtoorop . I use getdns/stubby for DoT but good to hear there is more in the wings.

cookiemonsteruk avatar Mar 06 '24 21:03 cookiemonsteruk