Why WinHTTP uses IP address of WPAD server instead of DNS name ?
Hello
I'am using proxy and WPAD proxy configuration in my network. wpad.mydomain.com is not default site on my server.
Programs (incl. Internet Explorer and Outlook) work fine, except those using WinHTTP (ex. Windows Activation).
Tracing of WinHTTP shows, that it try connect to WPAD server by IP address instead of DNS name:
11:38:05.071 ::DNS WPAD: Looking up wpad
11:38:05.073 ::DNS WPAD: Resolve SUCCESSFUL, Autoconfig URL: http://192.168.0.10/wpad.dat
11:38:05.073 ::WinHttpDetectAutoProxyConfigUrl() returning TRUE
11:38:05.073 ::WinHttpGetProxyForUrl(0x4556b0, "http://go.microsoft.com", 0x126e7b0, 0x126e7d8)
11:38:05.073 ::current thread is not impersonating
11:38:05.074 ::_StartAutoProxyService: The AutoProxy service is already running
11:38:05.079 ::_CallClientGetProxyForUrl the service returned error 12167
11:38:05.079 ::WinHttpGetProxyForUrl() returning FALSE
11:38:05.079 :: WinHttpGetProxyForUrl: error 12167 [0x2f87]
And because wpad.mydomain.com is not default site on 192.168.0.10, it cannot find wpad.dat, getting error and try connect to requested site directly.
July 15th, 2010 8:29am
Hi,
Please understand that this is Windows
7 Forum while this issue is more Server related. In order to get the answer effectively, it is recommended to submit a new question in
Windows Server Forum.
Regards,
Sabrina
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2010 12:13pm