Open Bug 1543010 Opened 6 years ago Updated 2 years ago

Expose whether trr was used to nsHttpChannel

Categories

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

enhancement

Tracking

()

People

(Reporter: dragana, Unassigned)

References

(Blocks 1 open bug)

Details

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

We want to know if only trr is used:

  • not-trr dns response was used
  • a trr response was used but a native dns query has been sent as well
  • only trr request has been sent.
Blocks: 1434852
Priority: -- → P2
Whiteboard: [necko-triaged]

I'm working on patches for some of this in bug 1525640.

Can you explain a bit more what we want to use that info for? Just telemetry?

Flags: needinfo?(dd.mozilla)
Whiteboard: [necko-triaged] → [necko-triaged][trr]

(In reply to Valentin Gosu [:valentin] from comment #1)

I'm working on patches for some of this in bug 1525640.

Can you explain a bit more what we want to use that info for? Just telemetry?

maybe for a future shield study if we have one and maybe for dev-tools

Flags: needinfo?(dd.mozilla)

(In reply to Dragana Damjanovic [:dragana] from comment #0)

We want to know if only trr is used:

  • not-trr dns response was used
  • a trr response was used but a native dns query has been sent as well
  • only trr request has been sent.

I posted the patches in bug 1525640. I'm still working on a test. It only exposes if the request used a TRR IP or not (doesn't say if we fall back to regular DNS etc), and it also doesn't say if the original request used TRR and we just loaded it from the cache (might be relevant in split horizon situations).

Let's use this but for future improvements.

Depends on: 1525640
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.