Re: [squid-users] Cache a site which is "redirected" by DNS manipulation

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Sat, 30 Aug 2014 22:06:17 +0300

Hey,

The question is much more complicated then presented.
To make windows updates to be cached you need to understand much more
then just squid basics!
You will need to analyze and reverse engineer windows updates ways of
updating a PC and only then decide on the right way to do that.
It is not recommended to use the method you have chosen to use DNS
manipulation but it is a way.

Many have asked to do what you want\need and failed in the past due to
the complexity of the task.

I cannot recommend you on a way to implement it since I have not touched
the subject for quite a while now but I do recommend you to raise the
http request and response debug level inside squid to understand what is
being requested and what is being served to narrow down the reason for
your issue.

Feel free to ask a more specific questions about http levels of the issue.

All The Bests,
Eliezer

On 08/30/2014 09:28 PM, nuhll wrote:
> Hi,
>
> i had a thread here:
> http://squid-web-proxy-cache.1019090.n4.nabble.com/ONLY-Cache-certain-Websites-td4667121.html
>
> But ive comen across so many problems that i decided to just cache one
> website (windows updates).
>
> The Squid Proxy need to cache onle domains like:
>
> windowsupdate.com
>
> microsoft.com
>
> windows.com
>
> User enteres windows.com, he gets a wrong ip like 192.168.0.8. Squid should
> then get the page by the origin webserver and cache some files (like
> cab|exe|ms[i|u|f]|asf|wma|dat|zip).
>
> How to archive this?
>
> "http_port 192.168.0.8:80 accel defaultsite=windowsupdate.com cache_peer
> windowsupdate.com parent 80 0 no-query originserver " works but no cache...?
>
>
Received on Sat Aug 30 2014 - 19:06:22 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 31 2014 - 12:00:06 MDT