]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove artificial search limit from libirs
authorPetr Menšík <pemensik@redhat.com>
Fri, 4 Oct 2019 22:20:54 +0000 (00:20 +0200)
committerMark Andrews <marka@isc.org>
Tue, 10 Dec 2024 00:51:56 +0000 (00:51 +0000)
commite7ddd3d7b42ffe4783d723af448b307caa9a5e0e
tree3f5ebd157ccb5c71eeb9016dd92a3cad35bb5d8e
parent48901ef57e742fcc29a90167a38d60a118a2f5ec
Remove artificial search limit from libirs

Search directive from resolv.conf had a maximum of 8 domains. Any
more were ignored. Do not ignore them anymore; iterate over any
number of domains.

Test resolv.conf support by checking the first and last domain in
the search list. Ignore the domains between; just ensure that the
last domain in the configuration is the last domain parsed.
lib/dns/resconf.c
tests/irs/testdata/search.conf