-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
forward-addr priority or weight #1182
Comments
Hi @AlexeiKlimenko! We have some vague plans to make the server selection for configured zones configurable in the future but I have nothing more to share at the moment. If you have a specific configuration you would like to see please share it so that we can take it into account. |
You can refer to the dnsproxy mode,Defines the upstreams logic mode, possible values: load_balance, parallel, fastest_addr (default:load_balance). |
I want to know, if in the forwarding case shared by AlexeiKlimenko how can I achieve the following? |
The 400ms RTT band is caclulated from the fastest server. So if the fastest server is 1000ms away, a 1300ms server is still in the fastest band and eligible to pick. The RTT band is not configurable. Also apart from Unbound's default server selection algorithm that I shared, there is currently no other selection algorithm to choose from. The only thing you can do but I don't know if it is of interest in your case, is to have more a specific forward-zone fallback to a less specific one. Then you could "fake" the fallback forwarder, but this only works with forwarders of different domain names, not forwarders of the same domain. Something like:
|
Hello!
We define several "forward-addr" for zone as shown below:
forward-zone: name: "." forward-first: no forward-addr: XXX forward-addr: YYY
How does the Unbound handle with several Forward-Addr? RoundRobin, LeastConn or any another approach?
Could we manage this behavior with setting priority, weights etc?
Thanks for answer in advance!
The text was updated successfully, but these errors were encountered: