]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Apply `non-local-bind` to `query-local-address{,6}` when possible 4332/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 18 Aug 2016 12:22:49 +0000 (14:22 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 18 Aug 2016 12:22:49 +0000 (14:22 +0200)
commitf688119ec6c657ace817455c3aaf15ae5490ddd4
tree86301402624be33144dc325b8de586cbe13f30af
parent1fa69203a49eb0d51913e23de656960d1c390e55
auth: Apply `non-local-bind` to `query-local-address{,6}` when possible

This allows using a non-local address for `query-local-address`
or `query-local-address6`. This only makes sense if no outgoing query
is going to be sent before the address comes up, otherwise it will
fail.
pdns/mastercommunicator.cc
pdns/resolver.cc
pdns/resolver.hh