]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
unbound: Test for working EDNS buffer size and adjust accordingly
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Dec 2016 12:45:07 +0000 (12:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Dec 2016 12:45:07 +0000 (12:45 +0000)
commit8f3034d0db0addd98d2d287697db0135fe7c9f09
treed6e7f6270083c22a5d9c58d041b1fcc732244516
parentb26b242a9c5f9bc5b0a941782b2d57465dc69565
unbound: Test for working EDNS buffer size and adjust accordingly

Some networks have equipment that fails to forward DNS queries
with EDNS and the DO bit set. They might even lose the replies.

This patch will adjust unbound so that it will not try to receive
too large replies and falls back to TCP earlier. This creates
some higher load on the DNS servers but at least gives us
working DNS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/init.d/unbound