Closed Bug 1702332 Opened 4 years ago Closed 4 years ago

4x-10x jump in number of DNS queries starting Feb 8th

Categories

(Core :: Networking: DNS, task, P2)

x86_64
Windows 10
task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox89 --- wontfix
firefox90 --- fixed

People

(Reporter: rowbot, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(4 files)

Attached image queries chart

I am seeing a 4x-10x jump in number of DNS queries when using Nightly. This started Feb 8th as shown in the chart image. I don't believe my browsing habits have changed. I'll try to test a build from before the 8th sometime this week to confirm.

I am using NextDNS with DoH. All my other devices have remained constant, so I don't think its an issue with NextDNS. I've tried a new profile, disabling addons, and disabling http3, but nothing has changed.

Attached file about.support.txt

I think this should be caused by bug 1686421. This pref network.dns.upgrade_with_https_rr is enabled, so we do one additional DNS query for every http request. Could you try to disable this pref and see if it helps?

Flags: needinfo?(trevor.rowbotham)

Disabling network.dns.upgrade_with_https_rr seems to have helped tremendously. Currently sitting at ~4k queries for the day, though my browsing has been on the lighter side today. Still much better than the ~20k queries per day I was seeing after the pref got enabled.

Flags: needinfo?(trevor.rowbotham)

(In reply to Trevor Rowbotham [:rowbot] from comment #4)

Disabling network.dns.upgrade_with_https_rr seems to have helped tremendously. Currently sitting at ~4k queries for the day, though my browsing has been on the lighter side today. Still much better than the ~20k queries per day I was seeing after the pref got enabled.

Thanks for testing!
In theory, we should have 2 times of DNS queries when enabling this feature. I think we need to investigate the total amount of DNS queries before shipping this HTTPS RR.

Blocks: httpssvc
Severity: -- → S4
Type: defect → task
Priority: -- → P3
Whiteboard: [necko-triaged]
Assignee: nobody → kershaw
Priority: P3 → P2

After having browsed for a week with network.dns.upgrade_with_https_rr disabled, I am still seeing double the number of queries that I was previously getting. So, I believe there is another change that landed the same day that also caused an increase in the number of queries being made.

(In reply to Trevor Rowbotham [:rowbot] from comment #7)

After having browsed for a week with network.dns.upgrade_with_https_rr disabled, I am still seeing double the number of queries that I was previously getting. So, I believe there is another change that landed the same day that also caused an increase in the number of queries being made.

There is another pref network.dns.use_https_rr_as_altsvc that also creates DNS queries for HTTPS RR. You can also disable it if you want.

Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7785438d5527 Reduce the amount of DNS queries for unavailable type records, r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/1458eb0164ea Add a test for returning a negative result, r=necko-reviewers,valentin
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Regressions: 1692592
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: