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

Choose resolvers at random instead of always taking the first resolver #21

Open
jcgruenhage opened this issue Jan 15, 2023 · 0 comments

Comments

@jcgruenhage
Copy link

jcgruenhage commented Jan 15, 2023

Most people will be using public_ip::addr (or one of the address family specific subvariants), which will always take the first enabled resolver, falling back to other enabled resolvers until it finds one that can complete the request.

To me, it would make more sense to shuffle the list of providers, so that the load is balanced among the different providers here.

I'd be willing to implement this, but I'd like to wait for feedback here if this is wanted and whether you have any strong opinions on how this should be implemented.

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

1 participant