[Dnsmasq-discuss] DNSMASQ and configuring Win XP boxes to use a Proxy server

Simon Kelley simon at thekelleys.org.uk
Fri Oct 24 07:47:52 BST 2008

Philippe Faure wrote:
> Hello,
> I was wondering is someone has managed to get Windows XP boxes setup so 
> that they would get proxy details from DNSMASQ? Any details would be 
> appreciated.
> If someone has a suggestion on a better/easier way, I would be willing 
> to entertain the idea.

In /etc/dnsmasq.conf:


and then in <www-root>/wpad.dat:

function FindProxyForURL(url, host)
  if (isPlainHostName(host) ||
      isInNet(host, "", ""))
    return "DIRECT";
    return "PROXY central:3128";

My http server and proxy is called "central".



More information about the Dnsmasq-discuss mailing list