WPAD Powerdns

Alexander Schnur alexander.schnur at education-siemens.com
Wed Apr 7 08:31:26 CEST 2010


Hallo,

weiss jemand wie ich einen WPAD- Eintrag im Powerdns erstelle, um die 
Proxydaten automatisch zu übergeben?

Die wpad.dat liegt schon im Ordner /var/www/ .

wpad.dat:

function FindProxyForURL(url, host)  {
   if (isInNet(host, "10.0.2.0", "255.255.254.0"))
     {
      return "DIRECT";
     }
   else
     {
      return "PROXY 10.0.2.1:3128;"
     }
}

Bei mir ist die 10.0.2.1 Proxy.

Gruß

Alexander Schnur


More information about the User mailing list