Comment 296 for bug 113201

Revision history for this message
In , Jo-hermans (jo-hermans) wrote :

Yes, add this in front :

if (isPlainHostName(host) || shExpMatch(host, "*.yourdomain.com"))
{
   return "DIRECT";
}

If you're using internal webserver using the hostname or full DNS name, you will contact them directly, without going to the proxyserver first. The isInNet call only helps if you contact those webservers using an ipaddress, not a DNS-name.

But your problems have nothing to do with this bug, as your PAC-file does not use DNS at all (use dnsResolve call for that).