Closed Bug 1916418 Opened 2 years ago Closed 2 years ago

Don't use HTTPS record if the target name is not the same as CNAME of address record

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

(Blocks 2 open bugs)

Details

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

Attachments

(2 external files, 1 obsolete file)

No description provided.
Summary: Don't use HTTPS record if the target name is in CNAME path → Don't use HTTPS record if the target name is not the same as CNAME of address record

When DoH is disabled, the native DNS resolver can't provide CNAME information.
This means that when the native HTTPS resolver is enabled, we might still use an HTTPS record with a mismatched TargetName and CNAME.
To ensure a smooth browsing experience for users, it's unfortunate that we need to enable this preference.

Depends on D222145

Attachment #9424707 - Attachment is obsolete: true
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dffe7e257106 Ignore the svcb record when the targetName doesn't match cname, r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/3ce20d01a9ac Expose IsTRR for nsIDNSHTTPSSVCRecord, r=necko-reviewers,valentin

Backed out for causing multiple failures.



Flags: needinfo?(kershaw)
Flags: needinfo?(kershaw)
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dee53e26cb1b Ignore the svcb record when the targetName doesn't match cname, r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/7a4bfea4ab31 Expose IsTRR for nsIDNSHTTPSSVCRecord, r=necko-reviewers,valentin
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0c523b497ed7 Ignore the svcb record when the targetName doesn't match cname, r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/9ed70a6fbf2a Expose IsTRR for nsIDNSHTTPSSVCRecord, r=necko-reviewers,valentin
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: