This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

http proxy caching

I just hit an interesting problem.  I have been making some changes to my dns for one of my sites.  I noticed that even they had propagated to my own dns server my workstation was not getting the updates.  The internal AD server was..aka if i surfed to mail.hescominsoon.com i got the NEW site on the server(gmail page) but the old site on my workstation(it's actually to another domain i own not even hescominsoon.com).  I knew the problem has to be internal.

I cleared the caches in all 3 browsers, in local dns cache and in server cache.  NO change.  After doing detailed dns lookups i figured out the only thing left...the astaro box.  I could not figure out where the stuck dns entries were.  I have Astaro's dns pointing back to AD so that wasn't it....Finally after some digging i decided to take a WAG.  i disabled the http proxy.  Instantly all of the stale dns issue went away.  I then turn the proxy back on and the stale dns entries were there.  I have all caching turned off...

here's what the log says:
2010:03:07-12:24:17 hescominsoon httpproxy[29000]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.255.15" user="" statuscode="200" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="13850" time="738 ms" request="0x89159e0" url="mail.hescominsoon.com/.../html"


I am at a loss.  Any ideas?


This thread was automatically locked due to age.
Parents
  • I have noticed that even with caching turned off the cache size goes up from the initial 17meg at startup. I don't know the reason but I never thought it was caching dns requests. Can you check your cache size by any chance just to see. This would be significant if it is indeed caching hostnames for speeding things up while caching is disabled.
  • I have noticed that even with caching turned off the cache size goes up from the initial 17meg at startup. I don't know the reason but I never thought it was caching dns requests. Can you check your cache size by any chance just to see. This would be significant if it is indeed caching hostnames for speeding things up while caching is disabled.


    Not sure of a way to do that..I was just reporting on what my experience was..[:)]

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Try du -ch /var/storage/chroot-http/var/httpcache |grep total on console
    I don't have access to the old version right now so don't know if the above is valid. But the cache directory should be in /var/chroot-http/. I am sure a command line guru like you can take it from there[;)] Unless you have cleared the cache and then the whole exercise is pointless.
Reply
  • Try du -ch /var/storage/chroot-http/var/httpcache |grep total on console
    I don't have access to the old version right now so don't know if the above is valid. But the cache directory should be in /var/chroot-http/. I am sure a command line guru like you can take it from there[;)] Unless you have cleared the cache and then the whole exercise is pointless.
Children
No Data