Re: [squid-users] Resend: Squid and DNS

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 01 Nov 2008 18:46:48 +1300

░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
> can't browse to domain that hosted on Webserver Location ( just like a
> http://amyhost.com/data/1.jpg )
> is that enough to put command :
>
> http_port 80 accel defaultsite=riset.gpi-g.com
> cache_peer 172.16.0.2 parent 80 0 no-query originserver name=myAccel
> acl our_sites dstdomain riset.gpi-g.com
> http_access allow our_sites
> cache_peer_access myAccel allow our_sites
>

Config is correct for exact domain hosted "riset.gpi-g.com".

Three things to check that may affect it:

1) is DNS resolving riset.gpi-g.com as hosted at Squid IP?

2) "acl our_sites dstdomain" needs entries for all accelerated websites.
    maybe also needs wildcard entries for some domains
    (ie ".amyhost.com" to match amyhost.com and *.amyhost.com ).

3) above mentioned config needs to be at the top of squid.conf before
any forward-proxy config you may have.

Amos

>
> ???
>
> On Sat, Nov 1, 2008 at 11:08 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>> ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
>>> anyone can help me ?
>>>
>>> 2008/10/28 ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ <mirza.k_at_gmail.com>:
>>>> i use this :
>>>> http://etutorials.org/shared/images/tutorials/tutorial_102/bssl_0202.gif
>>>> but the Between Switch -router and Firewall ..... i put squid server
>>>>
>>>> how to make ppl ( local ) can browse to webserver and how to make
>>>> domain local solved to them ( user ) ???
>>>> Squid 2.x ( latest 2x version )
>>>>
>> Please say what the problem is.
>> Squid is a proxy server that locates and provides people with web pages when
>> asked. You need to configure it.
>>
>> http://wiki.squid-cache.org/SquidFaq
>>
>> Amos
>> --
>> Please be using
>> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
>> Current Beta Squid 3.1.0.1
>>
>
>
>

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid 3.1.0.1
Received on Sat Nov 01 2008 - 05:46:52 MDT

This archive was generated by hypermail 2.2.0 : Sat Nov 01 2008 - 12:00:04 MDT