Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: judgej on July 19, 2005, 06:09:57 PM
-
I'm using SME 6.5 and having trouble with squid. Basically, squid will not let go of an old IP address.
I moved an external web-site nearly 6 hours ago to a new server with a new IP address. The IP propagated correctly within half an hour: ping points to the new server etc.
Running curl from the server command-line gives me the front page of the new server site. That looks fine.
However, when I try to access the site from a browser, I get the site on the old server. No amount of page refreshing/shift/control/F5/R etc. on IE or FF will give me the new server front page.
Looking at the squid access log, it seems to keep fetching the page from the old server - it lists the old IP address using 'DIRECT' access.
The squid proxy is operating in transparent mode. When I switch that mode off, I can get the new site server *sometimes*, but switching transparent mode back on, I get the old server again *always*.
How can I reset squid so it 'forgets' the IP addresses and pages that it is remembering. IMO it looks like a squid bug, but right now I just want to get around this problem.
Any ideas?
-- Jason
PS 'lynx' run on the server gives me the *old* (incorrect) server, while 'curl' gives me the new server. Presumably 'curl' is bypassing the proxy.
-
I'm using SME 6.5 and having trouble with squid.
Or perhaps I'm using 6.0.1 ;-)
I've just noticed even with the transparent proxy [apparently] turned off, I still occasionally get the old site popping up.
-
Change your browser setting to
IE
Check for newer versions of stored pages = Every visit to the page
Firefox/Netscape
Compare the page in the cache to the page on the network = Every time I view the page
-
Hmmm. Now the IP, when I ping the domain, keeps flipping back and forth between the old and the new IP. Perhaps something strange is happening with my ISP - it can't make up its mind what the IP address is.
-
Change your browser setting to
IE
Check for newer versions of stored pages = Every visit to the page
Could it be a date/time problem? Between my SME server, the old server and the new server, the times seem to at least 10 minutes out.
-
Hmmm. Now the IP, when I ping the domain, keeps flipping back and forth between the old and the new IP.
That's almost certainly a DNS issue. Even once all authoritative name servers have new information the old can persist in downstream caches until TTL expires.