From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1) Gecko/20061010 Firefox/2.0
Description of problem:
The resolv.conf manpage under the section for 'search' keyword says:
The search list is currently limited to six domains with a
total of 256 characters each.
Can the limit of 6 domains be increased to a higher number (say 32)?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add several ( > 6) domains in a "search" line in /etc/resolv.conf
2. Try to lookup one of the hosts in a domain whose position is > 6
A proper name lookup
A quick search through glibc sources seem to indicate that the
# define MAXDNSRCH 6
is what controls this, and I couldn't see any side effect of changing this number to something higher. But don't let me fool you :)
That's not possible, the max number of search lines is part of the glibc ABI.
An MAXDNSRCH sized array is part of the struct __res_state structure (and _res
object), which various applications access directly.