TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: resolver sortlist
"Mark A. Bentley" wrote:
>
> Has anyone been able to get the sortlist option in /etc/resolv.conf to work
> as documented in resolver(5) to work with RedHat 5.2?
>
> It works fine with our Slackware 3.5 (libc5) systems, but so far I've been
> unable to get it to work with RedHat 5.2 (glibc2).
>
This works for us on stock RedHat 5.2:
% uname -a
Linux tigger-e194.cray.com 2.2.0 #1 SMP Tue Jan 26 16:36:48 CST 1999
i686 unknown
% cat /etc/resolv.conf
search cray.com sgi.com americas.sgi.com
nameserver a.b.c.d
nameserver x.y.z.a
nameserver l.m.n.o
% ping dist.engr
(tigger-e194) ~ # ping dist.engr
PING dist.engr.sgi.com (192.26.80.118): 56 data bytes
64 bytes from 192.26.80.118: icmp_seq=0 ttl=249 time=61.1 ms
64 bytes from 192.26.80.118: icmp_seq=1 ttl=249 time=58.8 ms
so, it used the second item in the search list. Is this what you mean?
Dan
--
- -- -- --- --- --- ---- ---- ----- ----- ----- ----- ------
Dan Mack (mack@sgi.com) <http://thistle.cray.com/~mack>
Information Services 651-683-7288
Silicon Graphics / Eagan, MN - -- --- --- -----