[Dnsmasq-discuss] Option-252 ?
B. Cook
bcook at poughkeepsieschools.org
Wed Mar 26 14:28:53 GMT 2008
Sorry for the late post..
but this is what we use in our network for proxy.pac..
(A little bit cleaner than the netscape one..)
# start
function FindProxyForURL(url, host)
{
if (
(isPlainHostName(host)) ||
(dnsDomainIs(host, "tcentral.local")) ||
(isInNet(host, "127.0.0.0", "255.0.0.0")) ||
(isInNet(host, "10.0.0.0", "255.0.0.0")) ||
(isInNet(host, "172.16.0.0", "255.240.0.0")) ||
(isInNet(host, "192.168.0.0", "255.255.0.0")) ||
(isInNet(host, "169.254.0.0", "255.255.0.0"))
)
return "DIRECT";
else
if (
(isInNet(myIpAddress(), "192.168.10.0", "255.255.255.0"))
)
return "PROXY 192.168.10.1:800";
}
# end
I think someone found this via some linux firewall package.. but we
use a wpad dns entry and then just link proxy.pac to wpad.dat..
Never got the dhcp option to work all the time..
We run Macs and PCs.. OSX doesn't have an 'auto detect proxy' for
safari.. camino uses the OS settings (which don't work) and only
firefox has an 'auto detect' settings..
anyway just my .02.
HTH
On Mar 13, 2008, at 10:26 AM, Phibee Network Operation Center wrote:
> Hi Jasiu,
>
> Very good your post, now the worstation get the option 252
> and request the proxy.pac. Thanks for your help.
>
> Now, we have a new small problems but it's not for dnsmasq,
> i am sorry i don't know where i can sent the question.
>
> Now with the option 252, the workstation get the proxy.pac
> but into this proxy.pac, can i said it that:
> uncheck "use script configuration"
> uncheck "Use a proxy server" (specified manually) ?
>
> Thanks for your help
> Jerome
>
>
> Thanks for your help
>
>
> Jan Psota a écrit :
>> Phibee Network Operation Center <noc at phibee.net> napisał(a):
>>
>>> anyone know why the option 252 are not sent/requested ?
>>>
>>
>> Maybe You should try to use --dhcp-option-force=....
>>
>> --
>> jasiu
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
>>
>>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list