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.
This commit is contained in:
committed by
Mark Andrews
parent
48901ef57e
commit
e7ddd3d7b4
2
tests/irs/testdata/search.conf
vendored
2
tests/irs/testdata/search.conf
vendored
@@ -9,4 +9,4 @@
|
||||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
search example.com example.net
|
||||
search example.com n1.example.org n2.example.org n3.example.org n4.example.org n5.example.org n6.example.org n7.example.org n8.example.org example.net
|
||||
|
||||
Reference in New Issue
Block a user