If that's the case you may want to run bind or tinydns directly on the
cache box, and point squid at localhost for it's resolver...
joelja
On Fri, 30 May 2003, "García García, Alberto" wrote:
>
> The problem is that squid don´t use /etc/hosts if internal dns is
> confgiured.
>
> I need define addresses manually and cannot use /etc/hosts
>
> -----Mensaje original-----
> De: Muhammad Talha [mailto:talha@worldcall.net.pk]
> Enviado el: viernes, 30 de mayo de 2003 12:46
> Para: García García, Alberto; Squid-Users
> Asunto: Re: [squid-users] InternalDNS & /etc/hosts
>
>
> you can read " man hosts" as well
>
> IP_address canonical_hostname aliases
>
> EXAMPLE
> 127.0.0.1 localhost
> 192.168.1.10 foo.mydomain.org foo
> 192.168.1.13 bar.mydomain.org bar
> 216.234.231.5 master.debian.org master
>
> Regards
>
> Talha
>
>
> ----- Original Message -----
> From: "Garcia Garcia, Alberto" <agarciag@endesa.es>
> To: "Squid-Users" <squid-users@squid-cache.org>
> Sent: Friday, May 30, 2003 3:28 PM
> Subject: [squid-users] InternalDNS & /etc/hosts
>
>
> >
> > Hi all i need to use the /etc/hosts file to override some addresses.
> >
> >
> > Has anybody an idea how it should be done?
> >
> > Thanks.
> >
> > Este mensaje de correo electronico y sus documentos adjuntos estan
> dirigidos
> > EXCLUSIVAMENTE a los destinatarios especificados. La informacion contenida
> > puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente
> > refleja la opinion de ENDESA. Si usted recibe este mensaje por ERROR, por
> > favor comuniqueselo inmediatamente al remitente y ELIMINELO ya que usted
> > NO ESTA AUTORIZADO al uso, revelacion, distribucion, impresion o copia de
> > toda o alguna parte de la informacion contenida. Gracias.
> >
> > This e-mail message and any attached files are intended SOLELY for the
> > addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY
> > PRIVILEGED information and may not necessarily represent the opinion of
> > ENDESA. If you receive this message in ERROR, please immediately notify
> the
> > sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose,
> > distribute, print or copy all or part of the contained information. Thank
> > you.
> >
>
> Este mensaje de correo electrónico y sus documentos adjuntos están dirigidos
> EXCLUSIVAMENTE a los destinatarios especificados. La información contenida
> puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente
> refleja la opinión de ENDESA. Si usted recibe este mensaje por ERROR, por
> favor comuníqueselo inmediatamente al remitente y ELIMÍNELO ya que usted
> NO ESTA AUTORIZADO al uso, revelación, distribución, impresión o copia de
> toda o alguna parte de la información contenida. Gracias.
>
> This e-mail message and any attached files are intended SOLELY for the
> addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY
> PRIVILEGED information and may not necessarily represent the opinion of
> ENDESA. If you receive this message in ERROR, please immediately notify the
> sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose,
> distribute, print or copy all or part of the contained information. Thank
> you.
>
-- -------------------------------------------------------------------------- Joel Jaeggli Academic User Services joelja@darkwing.uoregon.edu -- PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E -- In Dr. Johnson's famous dictionary patriotism is defined as the last resort of the scoundrel. With all due respect to an enlightened but inferior lexicographer I beg to submit that it is the first. -- Ambrose Bierce, "The Devil's Dictionary"Received on Fri May 30 2003 - 05:15:38 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:07 MST