Sqid resolving old DNS entries of my local mail server
i have change my mail server previous when i open my domain http://mail.mydomain.com it goes to http://mail.mail.mydomain/cgi-bin/op...webmail.pl.Now i have change my Mail server from openwebmail to Zimbra Server .so when i again open to it mail.mydomain.com ,proxy server takes to http://mail.NewZimbraMailServer/cgi-...openwebmail.pl.
If i bypass proxy server then it open mail.mydomain.com(My zimbra Page).i have also updated internal DNS addresss But Squid not updating it How to update Squid DNS Entry ? how to Update Squid Cache records? |
Hi,
You can use PURGE to delete the cache entries of the offending URL. To do so, add: Code:
acl PURGE method PURGE Code:
service squid reload Code:
squidclient -m PURGE http://mail.mydomain.com If squid listens on a port different than 3128 then add "-p <port-number>" in the above commands. Regards |
Delete Cache of squid solved my porblem
Thnaks,bathory,
As before your reply came i have try other method of removing my cache directory.so it resolve it. After erasing the Squid Cache Directories ,Squid has refresh its cache and now it going to my new mail server . for help refreshing the squid Cache (flush) http://www.labtestproject.com/linux_...ux_fedora.html |
how to bypass Squid server for specific url?
Bathory,
Please i have one more issue ,As my mail.mydomain.com is localy hosted with Ip Address eth0 192.168.1.12 & public address eth0:0 22x.10.xx.xx I want to decrease load on my Squid to resolve every request against my mail.mydomain.com. is there any Ip tables rules so when my clients request to specific website/mail.mydomain.com Through Proxy Server it directly move to 192.168.1.12 without processing by squid server ?? thanks and waiting. |
Hi,
You can put in the hosts file (/etc/hosts) of the box running squid an entry: Code:
192.168.1.12 mail.mydomain.com Or, (better solution if possible) setup a dns server using different views for internal and external hosts. Btw my previous post was just for avoiding the downtime of the whole procedure to stop squid, delete cache, recreate it and restart squid Regards |
All times are GMT -5. The time now is 04:24 PM. |