Closed Bug 1978542 Opened 28 days ago Closed 21 days ago

When using DoH, DNS cache entries are unexpectedly cleared after network change

Categories

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

defect

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged] [necko-priority-queue])

Attachments

(1 file)

When the network changes, we call FlushCache to purge DNS cache entries that were not resolved via DoH (aTrrToo is false). The rationale is that DoH responses come from a remote TRR server, so there’s no need to clear them when the user switches networks.

However, we currently call FlushEvictionQ here, which effectively removes the entry from the cache database. As a result, DNS cache entries are being cleared unexpectedly.

Assignee: nobody → kershaw
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: