bind9/lib
Diego Fronza 230d79c191 Fix resolution of unusual ip6.arpa names
Before this commit, BIND was unable to resolve ip6.arpa names like
the one reported in issue #1847 when using query minimization.

As reported in the issue, an attempt to resolve a name like
'rec-test-dom-158937817846788.test123.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.3.4.3.5.4.0.8.2.6.0.1.0.0.2.ip6.arpa'
using default settings would fail.

The reason was that query minimization algorithm in 'fctx_minimize_qname'
would divide any ip6.arpa names in increasing number of labels,
7,11, ... up to 35, thus limiting the destination name (minimized) to a number
of 35 labels.

In case the last query minimization attempt (with 35 labels) would fail with
NXDOMAIN, BIND would attempt the query mininimization again with the exact
same QNAME, limited on the 35 labels, and that in turn would fail again.

This fix avoids this fail loop by considering the extra labels that may appear
in the leftmost part of an ip6.arpa name, those after the IPv6 part.
2020-09-01 15:47:00 -03:00
..
bind9 Update library API versions 2020-08-06 09:10:06 +02:00
dns Fix resolution of unusual ip6.arpa names 2020-09-01 15:47:00 -03:00
irs Update library API versions 2020-06-18 10:03:05 +02:00
isc Use memory_order_acq_rel in isc_refcount_decrement. 2020-09-01 12:05:18 +00:00
isccc Update library API versions 2020-08-06 09:10:06 +02:00
isccfg BIND 9.17.4 2020-08-20 12:05:01 -07:00
ns Update library API versions 2020-08-06 09:10:06 +02:00
samples Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
win32/bindevt Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
.gitignore Provide unit test driver 2020-05-21 12:13:01 +02:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
unit-test-driver.sh.in Provide unit test driver 2020-05-21 12:13:01 +02:00