Provide pac (proxy auto configuration) via isc-dhcpd

Marco Dickert marco at misterunknown.de
Thu Sep 8 13:56:22 UTC 2016


Thank you both, for the clarification!


On 2016-09-08 10:31:09, José Queiroz wrote:
> Not all browsers use prox auto detection via dhcp.
> In example, Mozilla Firefox uses only DNS to detect proxy settings.
> 
> Em 08/09/2016 10:08, "Glenn Satchell" <glenn.satchell at uniq.com.au> escreveu:
> 
> > "local-proxy-config" is a user defined label for the dhcp option number
> > 252. This number is in the user defined range, but Microsoft chose to use
> > it for this function in Internet Explorer, other browsers followed this.
> >
> > There are two parts to that setting and they are given in the article. The
> > first one defines the option and says that dhcp option number 252 is to be
> > encoded as a text string:
> >
> > option local-proxy-config code 252 = text;
> >
> > and the second one where a value is assigned:
> >
> > option local-proxy-config "http://www.example.org/proxy.pac";
> >
> > For this to work you need to select the "automatically detect the proxy"
> > setting in your browser. The exact name varies with the different
> > browsers.
> >
> > regards,
> > -glenn
> >
> > On Thu, September 8, 2016 10:37 pm, Marco Dickert wrote:
> > > Hi all,
> > >
> > > this [1] wiki article mentions a option called "local-proxy-config".
> > > However,
> > > this option is neither documented in the manpage nor in the
> > documentation.
> > > I
> > > even cannot use it in Ubuntu 16.04 (isc-dhcp-server version is 4.3.3). Is
> > > it
> > > something gentoo-specific?
> > >
> > > However, how can I provide a proxy configuration file via isc-dhcpd?
> > >
> > > Thanks in advance!
> > >
> > > [1] https://wiki.gentoo.org/wiki/ProxyAutoConfig#DHCP_Server_
> > configuration
> > >
> > > --
> > > Marco Dickert
> > > marco at misterunknown.de
> > > https://misterunknown.de
> > > _______________________________________________
> > > dhcp-users mailing list
> > > dhcp-users at lists.isc.org
> > > https://lists.isc.org/mailman/listinfo/dhcp-users
> >
> >
> > _______________________________________________
> > dhcp-users mailing list
> > dhcp-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/dhcp-users
> >

> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


-- 
Marco Dickert
marco at misterunknown.de
https://misterunknown.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160908/6c250c81/attachment.bin>


More information about the dhcp-users mailing list