Hi,

We are using two different IP addresses on our Bordermananger server. One
for staff and one for students. I wish to setup my PROXY.PAC file through
DNS to automatically setup machines to point to the correct proxy ip
address.

Basically I want to join these two files into one

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "192.168.128.0", "255.255.224.0"))
return "PROXY 192.168.159.101:8080";
else
return "DIRECT";
}

and

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "192.168.31.0", "255.255.240.0"))
return "PROXY 192.168.31.110:8080";
else
return "DIRECT";
}

When looking through Craigs tips he says "There are methods which can be
used to check for multiple subnets in case you have more than one internal
LAN subnet. Ask in the Novell Public Forums about more complex PROXY.PAC
files. (Or hire me to develop one for your environment!)".

Any help would be greatly appreciated.