Mark, Thanks for the info I didn't know Windows caches the DNS. You gave me something to check out though because we are experiencing some issues and they think the guy I replaced "sabotaged" the network but more than likely it is an issue similar to the DNS caching.
One thing I tried a while back was using the autoconfig file for squid. For failover it works great. You can goto: http://squid-docs.sourceforge.net/latest/html/x1321.html#AEN1354 In the autoconfig file you would type something similar to: (replacing your own stuff of course) function FindProxyForURL(url, host) { return "PROXY 1.2.3.4:8080; PROXY 1.2.3.5:8080"; } Putting that in your proxy autoconfig file would perform your failover. But load balance is not performed. One way to perform load balance is also through this script but you would have to divide your network: if isInNet(host, "1.2.3.0", "255.255.255.0") { return "PROXY 1.2.3.4:8080; PROXY 1.2.3.5:8080"; } if isInNet (host, "1.2.4.0", "255.255.255.0" { return "PROXY 1.2.3.5:8080; PROXY 1.2.3.4:8080"; } So if both proxies are up and running a host in network 1.2.3.0 would get told to goto proxy 1.2.3.4 port 8080 first then try 1.2.3.5 port 8080 is it fails. A host in network 1.2.4.0 would get told to do the reverse. But if you looking for just failover the first would do the trick. Thanks, Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Sent: Friday, November 22, 2002 9:42 PM To: Chris; [EMAIL PROTECTED] Subject: RE: Load Balancing SquidGurad Servers Chris, Let's say you have 2 webservers: www is 1.2.3.4 www1 is 1.2.3.5 Well when your DNS server receives a www request it goes to the first one www or 1.2.3.4 then next request your DNS gets points to 1.2.3.5 or www2. As you can see if you have a lot of traffice like Yahoo.com this will balance the laod because not all the traffic is hitting one server. The bad part of this is that your DNS server will not know if 1.2.3.4 is actually onlin/active or working. In essence every other request will work if that server goes down so 2 out of 4 people will get "Page can't be displayed". Now you can do this with your proxy server also. You physically need to separate servers and DNS to accomplish what your looking for. But it's all done in DNS. To answer your question yes. I have 4 proxies that round robin with squid and squidguard but that is 4 different servers I have to maintain. Thanks, Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Sent: Thursday, November 21, 2002 10:33 AM To: [EMAIL PROTECTED] Subject: Load Balancing SquidGurad Servers Does anyone know how to setup 2 SquidGuard Servers to perform in a load balancing/failover situation. I would to have my users user proxy address 1.2.3.4 and if that one dies the 1.2.3.5 would take over... Is that posibble at all? Chris
