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:[EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> To: "Squid-Users" <[EMAIL PROTECTED]>
> 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   [EMAIL PROTECTED]    
--    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"


Reply via email to