We have a IIS 7.5 (.net 4.0) web service that is running slowly. I ran wireshark and found that it is making at least 6 DNS calls looking for wpad.<domain>.net. Each one times out as we don't use WPAD. Each WPAD call is taking about 3/4 of a second before timing out, so the total delay is 4.5 seconds. After the 6 requests finally timeout, it tries DNS with the url it is trying to resolve and that works. So the service finally continues on.
Platform is windows server 2008 r2. I want to completely disable WPAD. We don't use a proxy and as far as I know we don't need WPAD. We don't use DHCP. I want to stop WPAD but I haven't been successful. I have tried the following:
1. disable "automatically detect settings" in IE 2. disable "use automatic configuration script" in IE 3. Checked that WinHTTP Web Proxy Auto-Discovery Service is not running automatically, it is set to run manual so I think that should be ok. 4. Executed "Netsh winhttp show proxy" which tells me Direct access (no proxy server).
But it still tries to use WPAD.
I just found this, wondering if anyone has used <defaultProxy> or <proxy> settings in web.config to turn off the proxy? Wondering if that is what I need to do?