Re: resolv.conf and /etc/hosts

From: Jean-Christophe Basaille (Jean-Christophe.Basaille@U-BOURGOGNE.FR)
Date: Tue Nov 26 2002 - 06:22:12 EST


Suite au message de John Dunn (john.dunn@SEFAS.CO.UK):

You can do this with /etc/netsvc.conf

Put a line in this file like this :

hosts = bind,local

(or hosts = local,bind if you prefer searching /etc/hosts before DNS).

More details with man netsvc.conf

HTH.

> Can I force resolv.conf to search /etc/hosts if a name is not otherwise
> resolved? If so,how?
>
> John Dunn
> Sefas Innovation Ltd
> 0117 9154267
> www.sefas.com

--
Jean-Christophe Basaille
Université de Bourgogne, Centre de Calcul, Dijon, France
Tel: +33 3 80 39 52 05 / Fax: +33 3 80 39 52 69


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:22 EDT