Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cookiemonsteruk opened this issue Mar 1, 2024 · 3 comments
Open

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

cookiemonsteruk opened this issue Mar 1, 2024 · 3 comments

Comments

@cookiemonsteruk
Copy link

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
Copy link
Author

@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.

@wtoorop
Copy link
Contributor

wtoorop commented Mar 6, 2024

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

@cookiemonsteruk
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants