[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#35731: libc6: reorder on in /etc/host.conf does not work



clameter@debian.org writes:

> Package: libc6
> Version: 2.1.1-0.1
> 
> /etc/host.conf contains

/etc/host.conf is a libc5 config file. Programs links with the libc6
don't use it any more.

Maybe the man pages should have a word on it...

Have a look to info libc6 and search for Name Service Switch.

> this is supposed to order the IPs for a multihomed host so that the local
> network is preferred. Manpage of host.conf:
> 
>      reorder
>               Valid values are on and off.  If set to on, resolv+
>               will  attempt  to  reorder  host  addresses so that
>               local addresses (i.e.,  on  the  same  subnet)  are
>               listed  first when a gethostbyname(3) is performed.
>               Reordering is done for  all  lookup  methods.   The
>               default value is off.

I don't know how to do this with the glibc2.

              Jean Charles


Reply to: