Re: [squid-users] :Direct connection without DNS lookup
On Thu, 24 Feb 2005 [EMAIL PROTECTED] wrote: In my setup i have 2 proxies where the parent is open to the internet behind the Firewall and another proxy which cannot go direct to the internet connects to the parent proxy to get web pages. I have some sites in an intranet where i need those sites to be accesses only by the child proxy without setting up a DNS server. I need to tell the child proxy to directly comnnect to the intranet server with the help of /etc/hosts in this server. You also need to use always_direct in squid.conf. and never_direct for the rest.. Regards Henrik
Re: [squid-users] :Direct connection without DNS lookup
Hi OK In my setup i have 2 proxies where the parent is open to the internet behind the Firewall and another proxy which cannot go direct to the internet connects to the parent proxy to get web pages. I have some sites in an intranet where i need those sites to be accesses only by the child proxy without setting up a DNS server. I need to tell the child proxy to directly comnnect to the intranet server with the help of /etc/hosts in this server. My problem is although the server /etc/nsswitch.conf is configure to look files whin resolving this is not taken by squid when accessing the relevent server. Regs Chanaka > On Tuesday 22 February 2005 21:08, [EMAIL PROTECTED] wrote: >> Hi henric >> >> I have allready running cache_peer for this box default >> set to a master squid box. >> Yes i attempted /etc/hosts enry for this specifc intranet site >> and also checked on /etc/nsswitch.conf. >> Still squid is looking for DNS when resolving. >> Is their any specific entry to ask squid to use /etc/hosts >> when resolving? >> >> Chanaka > > Hi > is this a NAT problem or what is your concern here? > > Hans > > > >> >> > On Tue, 22 Feb 2005 [EMAIL PROTECTED] wrote: >> >> Is their a a methood wher you can tell squid to directly connect to a >> >> specific web site by providing its IP addredd without DNS lookups. >> > >> > cache_peer >> > >> > or /etc/hosts >> > >> > or requesting the site by IP. >> > >> > Regards >> > Henrik > > -- > ___ > Infomatik > (18)8112.7007 > http://info.matik.com.br > Mensagens não assinadas com GPG não são minhas. > Messages without GPG signature are not from me. > ___ >
Re: [squid-users] :Direct connection without DNS lookup
On Tuesday 22 February 2005 21:08, [EMAIL PROTECTED] wrote: > Hi henric > > I have allready running cache_peer for this box default > set to a master squid box. > Yes i attempted /etc/hosts enry for this specifc intranet site > and also checked on /etc/nsswitch.conf. > Still squid is looking for DNS when resolving. > Is their any specific entry to ask squid to use /etc/hosts > when resolving? > > Chanaka Hi is this a NAT problem or what is your concern here? Hans > > > On Tue, 22 Feb 2005 [EMAIL PROTECTED] wrote: > >> Is their a a methood wher you can tell squid to directly connect to a > >> specific web site by providing its IP addredd without DNS lookups. > > > > cache_peer > > > > or /etc/hosts > > > > or requesting the site by IP. > > > > Regards > > Henrik -- ___ Infomatik (18)8112.7007 http://info.matik.com.br Mensagens não assinadas com GPG não são minhas. Messages without GPG signature are not from me. ___ pgpRatBr0rlOp.pgp Description: PGP signature
Re: [squid-users] :Direct connection without DNS lookup
Hi henric I have allready running cache_peer for this box default set to a master squid box. Yes i attempted /etc/hosts enry for this specifc intranet site and also checked on /etc/nsswitch.conf. Still squid is looking for DNS when resolving. Is their any specific entry to ask squid to use /etc/hosts when resolving? Chanaka > On Tue, 22 Feb 2005 [EMAIL PROTECTED] wrote: > >> Is their a a methood wher you can tell squid to directly connect to a >> specific web site by providing its IP addredd without DNS lookups. > > cache_peer > > or /etc/hosts > > or requesting the site by IP. > > Regards > Henrik >
Re: [squid-users] :Direct connection without DNS lookup
On Tue, 22 Feb 2005 [EMAIL PROTECTED] wrote: Is their a a methood wher you can tell squid to directly connect to a specific web site by providing its IP addredd without DNS lookups. cache_peer or /etc/hosts or requesting the site by IP. Regards Henrik
Re: [squid-users] :Direct connection without DNS lookup
On 22.02 11:59, [EMAIL PROTECTED] wrote: > Is their a a methood wher you can tell squid to directly connect to a > specific web site by providing its IP addredd without DNS lookups. of course: look at 'dst' acl type and 'always_direct' directive -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. REALITY.SYS corrupted. Press any key to reboot Universe.
[squid-users] :Direct connection without DNS lookup
Hi Is their a a methood wher you can tell squid to directly connect to a specific web site by providing its IP addredd without DNS lookups. Chanaka