backport r3782, fixing qname-minimisation with various broken DNS servers,
authorsthen <sthen@openbsd.org>
Wed, 22 Jun 2016 20:11:09 +0000 (20:11 +0000)
committersthen <sthen@openbsd.org>
Wed, 22 Jun 2016 20:11:09 +0000 (20:11 +0000)
commitc9ade66c88e3cf2f3219400390537cad006a2fdd
treed2cd5be158a6eb510cb32a498cd8478408841c04
parentdf3651128a2ae367b661562ae5dc1f5621ac29ac
backport r3782, fixing qname-minimisation with various broken DNS servers,
often found at CDNs.

- Use QTYPE=A for QNAME minimisation.
- Keep track of number of time-outs when performing QNAME minimisation.
  Stop minimising when number of time-outs for a QNAME/QTYPE pair is
  more than three.
usr.sbin/unbound/doc/Changelog
usr.sbin/unbound/iterator/iterator.c
usr.sbin/unbound/iterator/iterator.h