Re: squid using another hosts file than /etc/hosts

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 27 Jun 2001 20:11:23 +0200

Squid-2.5 squid.conf:

hosts_file /etc/hosts

        Location of the host-local IP name-address associations
        database. Most Operating Systems have such a file: under
        Un*X it's by default in /etc/hosts MS-Windows NT/2000 places
        that in %SystemRoot%(by default
        c:\winnt)\system32\drivers\etc\hosts, while Windows 9x/ME
        places that in %windir%(usually c:\windows)\hosts

        The file contains newline-separated definitions, in the
        form ip_address_in_dotted_form name [name ...] names are
        whitespace-separated. lines beginnng with an hash (#)
        character are comments.

        The file is checked at startup and upon configuration. If
        set to 'none', it won't be checked. If append_domain is
        used, that domain will be added to domain-local (i.e. not
        containing any dot character) host definitions.

Julio Cesar Salas García wrote:
>
> Hi,
>
> I am working on Squid to make it verify another hosts table than
> /etc/hosts, some kind of configuration for squid where it check for
> internal hosts ( but hosts different than DNS and /etc/hosts). this is
> important because the /etc/hosts file is very big... and it slows
> down the performance of the proxy.
>
> I'll appreciate that you could help me with this.
>
>
>
> Ing. Julio Cesar Salas García
> CITI -- Soporte Tecnico Remoto
> Sendero Sur 285-A Col. Contry Monterrey, N.L. 64860 MEXICO
> Tel. (+52) 8357-2267 Fax (+52) 8357-8047
> e-mail: jsalas@citi.com.mx WWW: http://www.citi.com.mx
> PGP Finger Print: 102C 6EEB 71D6 B9E2 B5C0 E5BD FE97 E87E FADE 0411
Received on Wed Jun 27 2001 - 12:13:44 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:04 MST