Closed Bug 1481251 Opened 7 years ago Closed 7 years ago

Optimize non-A/AAAA type DNS records

Categories

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

63 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox63 --- wontfix
firefox64 --- fixed

People

(Reporter: dragana, Assigned: dragana)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files, 2 obsolete files)

No description provided.
Whiteboard: [necko-triaged]
Blocks: 1473736
No longer blocks: 1473736
Depends on: 1473736
Comment on attachment 8999155 [details] Bug 1481251 - Make 2 classes for A/AAAA and By-Type queries.r=mcmanus r=francois François Marier [:francois] has approved the revision.
Attachment #8999155 - Flags: review+
Attachment #8999155 - Flags: review?(daniel)
What is a "ByType" ? If I understand this correctly, this patch separates the HostRecord class in two. One for addresses and one for (other) types. Is that right? If that's correct, wouldn't "AddrHostRecord" and "TypeHostRecord" (or similar) be more suitable names? The "AAAAAHostRecord" name in particular reads very awkwardly to me.
Flags: needinfo?(dd.mozilla)
(In reply to Daniel Stenberg [:bagder] from comment #3) > What is a "ByType" ? If I understand this correctly, this patch separates > the HostRecord class in two. One for addresses and one for (other) types. Is > that right? > > If that's correct, wouldn't "AddrHostRecord" and "TypeHostRecord" (or > similar) be more suitable names? The "AAAAAHostRecord" name in particular > reads very awkwardly to me. In bug 1473736 I have added AsyncResolveByType function that queries dns (works only with TRR) for a type that is given as the second parameter of the function. That can be any type like TXT. AAAAAHostRecord is out original A/AAAA query (this should not have been changed at all) and byTypeHostRecord is a result of the AsyncResolveByType query and is only an array of strings(not parsed). Currently we only support TXT by-type queries. I named it AAAAA from A/AAAAA, but you are right AddrHostREcord is better. I will rename it. (THere may be a bug if we add (in the future) support for A or AAAA by-type query. I will take a look at that and fix it in bug 1473736)
Flags: needinfo?(dd.mozilla)
Attached file bug_1481251_tele_request.txt (obsolete) —
Attachment #9002115 - Flags: review?(francois)
Attachment #8999155 - Attachment is obsolete: true
Attachment #8999155 - Flags: review?(daniel)
Comment on attachment 9002115 [details] bug_1481251_tele_request.txt > 4) Can current instrumentation answer these questions? I suspect the answer is "no", but please add it to the request. > 8) If this data collection is default on, what is the opt-out mechanism for users? There _is_ an opt-out mechanism for users: turning off telemetry.
Attachment #9002115 - Flags: review?(francois) → review-
Split nsHostRecord into AddrHostRecord and TypeHostRecord for standard address dns queries and queries by-type.
Attachment #9002115 - Attachment is obsolete: true
Attachment #9009876 - Flags: review?(francois)
Comment on attachment 9009875 [details] Bug 1481251 - Optimize non-A/AAAA type DNS records. r=bagder Daniel Stenberg [:bagder] has approved the revision.
Attachment #9009875 - Flags: review+
Comment on attachment 9009876 [details] bug_1481251_tele_request.txt 1) Is there or will there be **documentation** that describes the schema for the ultimate data set available publicly, complete and accurate? Yes, in Histograms.json. 2) Is there a control mechanism that allows the user to turn the data collection on and off? Yes, telemetry setting. 3) If the request is for permanent data collection, is there someone who will monitor the data over time?** Yes, Dragana? 4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under? ** Category 1. 5) Is the data collection request for default-on or default-off? Default ON, all channels. 6) Does the instrumentation include the addition of **any *new* identifiers** (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)? No. 7) Is the data collection covered by the existing Firefox privacy notice? Yes. 8) Does there need to be a check-in in the future to determine whether to renew the data? No, permanent.
Attachment #9009876 - Flags: review?(francois) → review+
(In reply to François Marier [:francois] from comment #10) > Comment on attachment 9009876 [details] > bug_1481251_tele_request.txt > > 1) Is there or will there be **documentation** that describes the schema for > the ultimate data set available publicly, complete and accurate? > > Yes, in Histograms.json. > > 2) Is there a control mechanism that allows the user to turn the data > collection on and off? > > Yes, telemetry setting. > > 3) If the request is for permanent data collection, is there someone who > will monitor the data over time?** > > Yes, Dragana? > Yes, I will monitor the data.
Keywords: checkin-needed
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/72d92155fb64 Optimize non-A/AAAA type DNS records. r=bagder
Keywords: checkin-needed
It was typo :) I have fix the test. Thanks.
Flags: needinfo?(dd.mozilla)
Keywords: checkin-needed
Pushed by ebalazs@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ab11bd42e90c Optimize non-A/AAAA type DNS records. r=bagder
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
QA Contact: jduell.mcbugs
QA Contact: jduell.mcbugs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: