zhang yikai wrote:
hi, when I change log_ip_on_direct to off in squid.conf, the info change to :

Sigh. You have said your machine was broken with net access.
We looked and found that it was finding the wrong DNS IPs.

If you want it working, that is what you have to fix.

Amos


1226524531.343    152 10.0.2.110 TCP_MISS/503 2322 GET
http://wiki.squid-cache.org/wiki/squidtheme/img/moin-www.png -
DIRECT/wiki.squid-cache.org text/html
1226524536.129    143 10.0.2.110 TCP_MISS/503 2392 GET
http://www.5ilinux.com/blog/archives/000077.html -
DIRECT/www.5ilinux.com text/html
1226524537.361    143 10.0.2.110 TCP_MISS/503 2680 GET
http://www.google.com/ - DIRECT/www.google.com text/html
1226524540.545    134 10.0.2.110 TCP_MISS/503 2680 GET
http://www.google.com/ - DIRECT/www.google.com text/html
1226524541.745    144 10.0.2.110 TCP_MISS/503 2680 GET
http://www.google.com/ - DIRECT/www.google.com text/html
"/usr/local/squid/var/logs/access.log" 84L, 9994C
                                           36,1          15%
1226524673.913    144 10.0.2.110 TCP_MISS/503 2268 GET
http://203.208.39.99/ - DIRECT/203.208.39.99 text/html
1226524676.055    145 10.0.2.110 TCP_MISS/503 2268 GET
http://203.208.39.99/ - DIRECT/203.208.39.99 text/html
1226525378.813    143 10.0.2.110 TCP_MISS/503 2685 GET
http://zh-cn.fxfeeds.mozilla.com/zh-CN/firefox/headlines.xml -
DIRECT/zh-cn.fxfeeds.mozilla.com text/html
1226525556.977    143 10.0.2.110 TCP_MISS/503 2268 GET
http://203.208.39.99/ - DIRECT/203.208.39.99 text/html
1226525751.173    146 10.0.2.110 TCP_MISS/503 1929 GET
http://www.google.com/ - DIRECT/www.google.com text/html
1226525768.345    154 10.0.2.110 TCP_MISS/503 1929 GET
http://www.google.com/ - DIRECT/www.google.com text/html

2008/11/11 Amos Jeffries <[EMAIL PROTECTED]>:
zhang yikai wrote:
hi Amos, I use wget and in the /etc/wgetrc file:

http_proxy = http://10.0.2.110:9090

and I can connect to google from this computer:

[EMAIL PROTECTED] ~]# ping www.google.com
PING www.google.com (64.233.189.147): 56 data bytes
64 bytes from 64.233.189.147: icmp_seq=0 ttl=237 time=40 ms

Yes. ... and squid on that working machine logs:
 ... google.com  ... DIRECT/64.233.189.147

squid on failed machine logs:

 ... google.com  ... DIRECT/10.0.2.110

can you see the problem?

Amos


----- Original Message -----
From: "Henrik Nordstrom" <[EMAIL PROTECTED]>
To: "zhang yikai" <[EMAIL PROTECTED]>
Cc: "Amos Jeffries" <[EMAIL PROTECTED]>; "Kinkie" <[EMAIL PROTECTED]>; 
<squid-users@squid-cache.org>
Sent: Tuesday, November 11, 2008 3:32 PM
Subject: Re: [squid-users] Run squid2.5.6 and dansguardian got error message: 
(111) Connection refused

Understood. We got squid + dansguardian working together.

Different problem:  why does google.com resolve to 10.0.2.110?

every other working machine resolves google.com to IPs elsewhere on the net.

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



--
Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.2

Reply via email to