1833792 Members
2509 Online
110063 Solutions
New Discussion

more than 5 domains???

 
Alex Lavrov
Regular Advisor

more than 5 domains???

hi,

i want to have more than 5 search suffixes in the resolv.conf.

can it be done?
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: more than 5 domains???

Sorry, three is the limit.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeff Schussele
Honored Contributor

Re: more than 5 domains???

Hi,

The limit for search suffixes is currently 6 with a limit of 256 characters. Remember that the local domain *must* be first for shortname searches to work properly.

SEP, you're thinking about the limit for DNS servers in the resolv.conf file. The search line - like

search local.company.com local2.company.com local3.company.com local4.company.com

is what this user was asking about. See man resolv.conf for further details.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!