Crafting in a changing world

My ramblings as a reminder on how fast time flies by...

How automotic proxy discovery works...

Posted on January 31, 2005  •  1 minutes  • 80 words

Always found it intriguing how browsers have this new feature called Auto-detect proxy settings for this network. Now I just found how easy it actually is to implement.

The only thing you have to do is:

  1. add an A record called wpad and let it point to a webserver running on port 80
  2. On the root of that webserver you locate a file that contains actually the same thing as the well-known proxy.pac file.

That’s it. Your network is configured!!