RE: [squid-users] WPAD and Squid

From: Damian-Grint Philip <>
Date: Wed, 18 Feb 2004 17:55:22 -0000

I trundled through a number of problems before I could get WPAD working in
all instances:

1. Some autoproxy functions may be broken in certain implementations of
Win2k - I think it's something to do with winhttp.dll, I found problems with
SP3 and with .NET Framework, particularly with functions like MyIPAddress().
I ended up writing wpad.dat as an ASP page which captured (e.g.) client's IP
and just generated scripts with the PROXY lines and no other functions. (of
course, I then had to use application extension mapping to encourage IIS to
execute the wpad.dat file as ASP)

2. Have you tried switching off proxy caching on the client?

3. Have you associated extension .dat with the
application/x-ns-proxy-autoconfig mime type?

4. Are you using host headers? Have you set wpad host header name under the
default web site?

5. With Ethereal I found some IE6 clients putting the IP address in the wpad
request and not a hostname of wpad as I had expected - I then added the IP
address as a host header name to catch those instances.

6. Does the script work on its own as in an explicit reference to

Phil DG

-----Original Message-----
From: Clemson, Chris []
Sent: 18 February 2004 15:29
Subject: RE: [squid-users] WPAD and Squid

> Is the DNS suffix set correctly on the client machines?
> Try "ping wpad", if that doesn't work try "ping".
> If that works your DNS suffix is not properly set.

yes, that works fine.
at first i thought it might be because wpad was set to a CNAME, where some
of the documentation mentions that it should be an A record, so i changed it
to an A record and that hasn't made any difference.

The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.
Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Confidentiality Notice
This communication and the information it contains:
(a) is intended for the person(s) or Organisation(s) named above and for no other persons or organisations and,
(b) may be confidential, legally privileged and protected by law.
Unauthorised use, copying or disclosure of any of it may be unlawful.
When addressed to our clients any opinions or advice contained in this e-mail are subject to CCRE's terms and conditions of business notified to the client or expressed in the governing client engagement letter.
If you receive this communication in error, please notify us immediately, destroy any copies and delete it from your computer system.
Received on Wed Feb 18 2004 - 11:01:46 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST