@@ -19,15 +19,17 @@ type DNSSummary struct {
1919 // Flow ID that spawned this DNS query, if Origin is "tunnel".
2020 // Otherwise, it is randomly generated uint64 as hex.
2121 FID string
22- // DNS Transport ID
22+ // DNS Transport ID.
2323 ID string
2424 // owner uid that sent this request. May be empty.
2525 UID string
26- // tunnel or internal originated query
26+ // tunnel or internal originated query.
2727 Origin string
28- // Response (or failure) latency in seconds
28+ // Time this query was received (unix millis).
29+ Start int64
30+ // Response (or failure) latency in seconds.
2931 Latency float64
30- // Queried domain name
32+ // Queried domain name.
3133 QName string
3234 // Query type: A, AAAA, SVCB, HTTPS, etc. May be 0.
3335 QType int
@@ -37,21 +39,21 @@ type DNSSummary struct {
3739 Cached bool
3840 // DNS Response data, ex: a csv of ips for A, AAAA.
3941 RData string
40- // DNS Response code
42+ // DNS Response code.
4143 RCode int
42- // DNS Response TTL
44+ // DNS Response TTL.
4345 RTtl int
44- // DNS Server (ip, ip:port, host, host:port)
46+ // DNS Server (ip, ip:port, host, host:port).
4547 Server string
46- // Proxy or a relay server address
48+ // Proxy or a relay server address.
4749 PID string
48- // Relay server PID hops over, if any
50+ // Relay server PID hops over, if any.
4951 RPID string
50- // Transport status (Start, Complete, SendFailed, NoResponse, BadQuery, BadResponse, etc)
52+ // Transport status (Start, Complete, SendFailed, NoResponse, BadQuery, BadResponse, etc).
5153 Status int
5254 // CSV of Rethink DNS+ blocklists (local or remote) names (if used).
5355 Blocklists string
54- // Actual target (domain name) that was blocked (could be a CNAME or HTTPS/SVCB alias) by Blocklists
56+ // Actual target (domain name) that was blocked (could be a CNAME or HTTPS/SVCB alias) by Blocklists.
5557 BlockedTarget string
5658 // True if any among upstream transports (primary or secondary) returned blocked ans.
5759 // Only valid for A/AAAA queries. Unspecified IPs are considered as "blocked ans".
@@ -62,11 +64,11 @@ type DNSSummary struct {
6264 AD bool
6365 // True if TLS Encrypted Client Hello was used by this transport, if applicable.
6466 ECH bool
65- // Diag message from Transport, if any. Typically, "no error"
67+ // Diag message from Transport, if any. Typically, "no error".
6668 Msg string
6769 // Diag extras, if any. For example, list of proxy & transport overrides.
6870 Extra string
69- // Region of the Rethink DNS+ server (if used)
71+ // Region of the Rethink DNS+ server (if used).
7072 Region string
7173}
7274
0 commit comments