On Thursday 24 April 2003 15.54, Peter Lustig wrote:
> > if (isInNet(host, "192.168.2.0", "255.255.255.0"))
> I also did this one @work, but the answer times to the request
> increase incedible.
Then you probably have some kind of DNS problem in your network.
The above function will make the browser do a DNS lookup of any
requested host name, as required for comparing the server IP
addresses to your local network..
If you are on a network with no access to Internet DNS and no proper
root servers rejecting any attempts to resolve Internet DNS names
then you should not be using the above function, but just compare the
host names as strings to your list of local servers.
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [email protected]Received on Thu Apr 24 2003 - 13:23:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:28 MST