PAC works but not WPAD (with firefox)

View: New views
4 Messages — Rating Filter:   Alert me  

PAC works but not WPAD (with firefox)

by Chitta Mandal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the following option in /etc/dhcpd.conf:
----
# automatic web proxy configuration
option wpad                  code 252 = text;
option wpad                  "http://sit.iitkgp/proxy.pac\n";
----

If I use "Automatic proxy configuration url as
 "http://sit.iitkgp/proxy.pac", then mozilla works fine.

However, if I try the "Auto-detect proxy settings for the network",
then there is a failure. What could be the problem?

Note that the lease obtained from the DHCP server contains the
following record:

option unknown-252
68:74:74:70:3a:2f:2f:73:69:74:2e:69:69:74:6b:67:70:2f:70:72:6f:78:79:2e:70:61:63:a;

-C


Re: PAC works but not WPAD (with firefox)

by Vincent Panel-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aren't you supposed to configure your DNS rather than your DHCP in
order to use wpad ? I thought you had to name one of your servers
"wpad.domain.name" and it's automatically looked up by firefox.

Other than this configuration, I don't know anything about wpad...

On 7/4/09, Chitta Mandal <chitta@...> wrote:

> I have the following option in /etc/dhcpd.conf:
> ----
> # automatic web proxy configuration
> option wpad                  code 252 = text;
> option wpad                  "http://sit.iitkgp/proxy.pac\n";
> ----
>
> If I use "Automatic proxy configuration url as
>  "http://sit.iitkgp/proxy.pac", then mozilla works fine.
>
> However, if I try the "Auto-detect proxy settings for the network",
> then there is a failure. What could be the problem?
>
> Note that the lease obtained from the DHCP server contains the
> following record:
>
> option unknown-252
> 68:74:74:70:3a:2f:2f:73:69:74:2e:69:69:74:6b:67:70:2f:70:72:6f:78:79:2e:70:61:63:a;
>
> -C
>
>

Re: PAC works but not WPAD (with firefox)

by Chitta Mandal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sun, 2009-07-05 at 02:00 +0200, Vincent Panel wrote:
> Aren't you supposed to configure your DNS rather than your DHCP in
> order to use wpad ? I thought you had to name one of your servers
> "wpad.domain.name" and it's automatically looked up by firefox.
>
> Other than this configuration, I don't know anything about wpad...

The DHCP based solution is more flexible and according to available
documentation, it has priority over the DNS based solution. The
problem is that the DHCP based solution is not working.

-C


Re: PAC works but not WPAD (with firefox)

by Vincent Panel-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jul 5, 2009 at 8:56 AM, Chitta Mandal<chitta@...> wrote:

>
> On Sun, 2009-07-05 at 02:00 +0200, Vincent Panel wrote:
>> Aren't you supposed to configure your DNS rather than your DHCP in
>> order to use wpad ? I thought you had to name one of your servers
>> "wpad.domain.name" and it's automatically looked up by firefox.
>>
>> Other than this configuration, I don't know anything about wpad...
>
> The DHCP based solution is more flexible and according to available
> documentation, it has priority over the DNS based solution. The
> problem is that the DHCP based solution is not working.
>
Looks like a bug to me, then. You should report it on bugzilla.