Closed Bug 1587875 Opened Last month Closed 29 days ago

Clear TRR cache entries when changing DoH servers

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Whiteboard: [necko-triaged][trr])

Attachments

(1 file)

It's possible the user might change from one DoH server to another. When that happens, we don't clear the TRR cache entries. If DoH servers have different behaviours (give different domains, blocking, etc), it's possible that a cached TRR entry will be used, pointing the user to the wrong IP (from the perspective of the current resolver).

(In reply to val.zapod.vz from comment #3)

Have you heard anything about Google DoH implemenation not working after 40 minutes in TRR? I could not find any info on this immediately. Though suppose I can reproduce it.

No, we don't have any bugs on that. Please file a different bug with steps to reproduce. Logs are welcome.
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging

Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c853fce199e6
Clear TRR cache entries when changing DoH servers r=kershaw
Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.