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

dnsdist's newServer() should have a source address argument #3138

Closed
job opened this issue Dec 30, 2015 · 0 comments
Closed

dnsdist's newServer() should have a source address argument #3138

job opened this issue Dec 30, 2015 · 0 comments
Assignees

Comments

@job
Copy link
Contributor

@job job commented Dec 30, 2015

It would be useful for servers which have multiple IP addresses/interfaces to be able to instruct newServer() which source address to use.

newServer({address="ip:port", source=XX})

Where XX can be a list of IPv4 & IPv6 addresses (dnsdist should loadbalance), or an interface name (dnsdist should take all IPv4 and IPv6 addresses from that interface). If multiple IP addresses are specified either directly or indirectly (by referencing an interface name) - dnsdist should try to figure out which source addresses result in answers and which don't.

@rgacogne rgacogne self-assigned this Jan 6, 2016
rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 7, 2016
It only supports one source address/interface per downstream server.
The more I tried to support more than one, the more I realized I was
in fact having grouping several DS into one, without the benefits
of separate stats and status checking. In particular, having several
sources adresses mean that we would get "random" failures if some
addresses are allowed on the backend and some others are not.
Simply adding the same backend several times with different source
addresses means that only the ones with faulty addresses will be
disabled.
Closes PowerDNS#3138.
rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 7, 2016
It only supports one source address/interface per downstream server.
The more I tried to support more than one, the more I realized I was
in fact having grouping several DS into one, without the benefits
of separate stats and status checking. In particular, having several
sources adresses mean that we would get "random" failures if some
addresses are allowed on the backend and some others are not.
Simply adding the same backend several times with different source
addresses means that only the ones with faulty addresses will be
disabled.
Closes PowerDNS#3138.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.