-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
[Feature Request] Blocky should start resolving DNS traffic using available upstream ASAP #835
Comments
Which version of blocky do you use currently? Maybe #749 is relevant for you. |
@0xERR0R looks like there's still a little bit different, but maybe not important at all. According to the document, here's the description of
So looks like current policy is to check all the upstreams once to make sure at least one of them works, or check none of them, and then start to serve. What I'm thing about is still to check them all, but once any of upstreams is working, then start to serve, not to wait for the check completed. |
If To implement this behavior in blocky, we could change |
Just leave a record that it takes about minutes starting to resolve queries if there are many upstream 😅 |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Making Blocky test the resolvers in parallel could be a good improvement here. Both of those should not be too hard after #998 is merged. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Oh, please keep it. |
Finally got around to finishing my PR for this :) |
To prevent misunderstanding, this issue is not a duplicate of #566. #566 is addressing the blocking caused by the blocklist/allowlist, I'd like to discuss about the upstream resolver here.
When there are many upstream resolvers in the config, like this: https://github.com/PeterDaveHello/dnslow.me/blob/master/blocky-dns-proxy-config.yml, looks like blocky will take a while to start(almost a minute in my case), if there wasn't any high-availability architecture in the service, the restart usually will cause a down time.
Maybe just like #566/#636, we can allow blocky start to resolve queries once there's any working upstream?
Thanks!
The text was updated successfully, but these errors were encountered: