Skip to content

Automatic Proxy Settings with WPAD

It is possible to configure automatic browser settings for all machines in your network with the help of WPAD protocol (PAC file) as explained in this article and on wikipedia.

Admin UI of Web Safety is able to host and serve the WPAD/PAC files. Navigate to UI / Squid / Tools / WPAD, select your existing WPAD file and click upload as indicated on the following screenshot.

For example, if your proxy is named proxy.example.lan, then after upload, the file will be available in your network by the address http://proxy.example.lan/wpad.dat.

Uploaded WPAD File

Please note, after adding wpad.example.com domain name into the DNS server as explained on WPAD tutorial in Microsoft Windows Active Directory DNS you may still get the can't find wpad: Non-existent domain error from DNS server as shown on the screenshot below.

DNS WPAD non existing

This is because wpad domain name is part of global domain name block list on your DNS server by default. You need to remove it from the block list as explained in this Microsoft Support article.

DNS Global Block List

After that nslookup wpad.example.com command will work just fine and your browsers will be able to detect the presence of proxy automatically.