-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Support strict order for upstreams (fallback DNS servers) #3701
Comments
This is a good feature request... that way primary and backup servers can be used. |
This seems very similar to the dnsproxy |
I agree. This would also allow for upstream dns resolution to prefer dns over a vpn tunnel if the tunnel is up, where it only falls back to a public dns server if the tunnel is down. So say:
If 10.1.1.1 is reachable, only that gets used. Otherwise 8.8.8.8 will be used as a fallback. |
@ameshkov How difficult would it be to expose the dnsproxy feature through AGH? Thanks! |
Not too complicated, UI changes is what slows this down. |
Hi there, is there any update regarding the implementation of this option? 🙏 |
@komic, it's still unplanned, as you can see by the absence of a set milestone. Please use the 👍 reaction to show your support for the feature. |
Hello @ainar-g and team, today I faced an issue where this feature request would've come in really handy and potentially mitigated the issue. Google DNS was returning I'd like to therefore ask that this feature be prioritized. |
#5731 |
Now that we've improved the fallback upstreams in |
Updates #3701. Squashed commit of the following: commit 5801acd Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Aug 21 13:37:57 2023 +0300 all: upd chlog commit 5c40913 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Thu Aug 17 13:15:19 2023 +0300 dnsforward: add fallback dns servers
fallback DNS支持dot或doh吗? |
@duckxx, the same types of upstreams as in the main upstream fields are supported. The fallback feature is going to be released in the upcoming v0.107.37. |
I use 2 upstreams from different providers, Cloudflare and Quad9. Cloudflare is fast from my location, Quad9 is about 2x slower. So I'd like to use Cloudflare all the time, unless it's unavailable (which happened before). When it's not available I'd like AGH to switch to the second provider (Quad9 in this case), then periodically check the first provider and switch back to it when it is available again.
For now I can use parallel queries but it seems wasteful and also don't want both providers to have a log of my queries all the time.
This is somewhat related to #3672, if the load balancing feature worked correctly it would be close to equivalent to strict order, unless someone wanted the slower upstream to be the main one.
The text was updated successfully, but these errors were encountered: