Closed Bug 1766723 Opened 4 years ago Closed 4 years ago

DNS lookups in .pac proxy config don't use DNS over HTTPS

Categories

(Core :: Networking: DNS, defect)

Firefox 99
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ra_hardy, Unassigned)

Details

Steps to reproduce:

  1. My organisation has a proxy autoconfigured with a .pac file in Windows
  2. The pac does a DNS lookup using isInNet()
  3. Firefox is configured to use the system proxy stetings
  4. I've selected the 'enable DNS over HTTPS' option in the settings
  5. In Firefox, go to example.com
  6. At a command prompt run ipconfig /displaydns

Actual results:

The DNS lookup for example.com displays in the Windows DNS cache

Expected results:

The isInNet() call should use DNS over HTTPS and not use the system DNS

It seems that when a .pac is configured and has DNS lookups in it, then the 'enable DNS over HTTPS' option essentially has no effect since the DNS lookups aren't secured.

I've tested using the .pac URL directly in Firefox instead of the 'system proxy' setting, and the result is the same.

I've also tested by breaking the .pac URL. In that case the DNS lookup is using DNS over HTTPS instead of the system DNS.

The Bugbug bot thinks this bug should belong to the 'Core::Networking: DNS' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking: DNS
Product: Firefox → Core

Please see bug 1640091.
This is an expected behavior - DNS lookups from pac cannot use DoH.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX

As the setting for 'Enable DNS over HTTPS' setting has no effect, should it be disabled, or have a small explanation.

You need to log in before you can comment on or make changes to this bug.