two dns search with 4 nameserver

Hi all,

Does someone use this kind of config on /etc/resolv.conf?

search domain1.com domain2.com
nameserver 1.x.x.x
nameserver 2.x.x.x
nameserver 3.x.x.x
nameserver 4.x.x.x

Is that going to work properly?

I heard that only 3 lines are enabled on resolv.conf. Is that true?

Thanks!

I use:

domain foo.com
nameserver 0.0.0.1
nameserver 0.0.0.2
nameserver 0.0.0.2
search foo.com bar.com

For Solaris 10 a fourth nameserver prevents the search list from working, as you state for Solaris 8 it just uses the first three nameservers and ignores the fourth, I believe the latter behavior is normal for most Unixes.