On 2010/10/19 17:17, David Gwynne wrote:
> On 19/10/2010, at 4:17 AM, Driton Husnovic wrote:
>
> > Hi @Tech,
> >
> > I want to configure dhcpd with WPAD option. I see that option-252 is
> > renamed/moved as autoproxy.
> > But there is no manual or reference about autoproxy.
> > Can anyone add any syntax or mini example to the list please?
>
> option autoproxy-script "http://example.com/autoproxy.pac";
or this:
option autoproxy-script "http://example.com/autoproxy.pac ";
(some versions of Windows strip the last character).
Index: dhcp-options.5
===================================================================
RCS file: /cvs/src/usr.sbin/dhcpd/dhcp-options.5,v
retrieving revision 1.10
diff -u -p -r1.10 dhcp-options.5
--- dhcp-options.5 13 Jan 2009 21:11:57 -0000 1.10
+++ dhcp-options.5 19 Oct 2010 08:24:25 -0000
@@ -580,6 +580,9 @@ option specifies a list of (normally TFT
may download their configuration information and software images
from.
Servers should be listed in order of preference.
+.It Ic option autoproxy-script Ar string ;
+This option is used to specify a URL where a web-proxy configuration
+script (WPAD) may be retrieved.
.El
.Sh SEE ALSO
.Xr dhclient.conf 5 ,