Closed Bug 1455972 Opened 6 years ago Closed 6 years ago

TRR: prefer IP address to CNAME

Categories

(Core :: Networking: DNS, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bagder, Assigned: bagder)

Details

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

Attachments

(1 file)

I wrote new separate DOH implementation this weekend and then I noticed that in many DNS response packets with CNAME present there's also a type A or AAAA included.

I think Firefox should prefer the bundled A/AAAA data to the the CNAME to save itself from doing more requests that will take more time. The current code will always "chase" the CNAME if such an entry was present.
Comment on attachment 8970112 [details]
bug 1455972 - make TRR prefer address responses to CNAME

https://reviewboard.mozilla.org/r/238900/#review244626
Attachment #8970112 - Flags: review?(mcmanus) → review+
Pushed by daniel@haxx.se:
https://hg.mozilla.org/integration/autoland/rev/4d53dc29f81e
make TRR prefer address responses to CNAME r=mcmanus
https://hg.mozilla.org/mozilla-central/rev/4d53dc29f81e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.