Currently, CNAMES and other DNS details are only stored as part of the main page, and largely done using dedicated lookups.
We should add the passive details that are already available in the netlog for all of the origins resolved (CNAMES, SVCB records, address list, etc).
The main question is WHERE to put the data. The options that come to mind are:
- At a request level for the first request from a given origin
- At a request level, copied to every request for a given origin (seems wasteful)
- At a page level, with per-origin details (harder to query?)
The raw results look something like this:
"results": [
{
"alias_target": "ghs.googlehosted.com",
"domain_name": "almanac.httparchive.org",
"query_type": "AAAA",
"source": "dns",
"timed_expiration": "13411495234628602",
"type": "alias"
},
{
"alias_target": "ghs.googlehosted.com",
"domain_name": "almanac.httparchive.org",
"query_type": "HTTPS",
"source": "dns",
"timed_expiration": "13411495234636313",
"type": "alias"
},
{
"alias_target": "ghs.googlehosted.com",
"domain_name": "almanac.httparchive.org",
"query_type": "A",
"source": "dns",
"timed_expiration": "13411495234628470",
"type": "alias"
},
{
"domain_name": "ghs.googlehosted.com",
"error": -105,
"query_type": "HTTPS",
"source": "dns",
"timed_expiration": "13411494994636313",
"type": "error"
},
{
"domain_name": "ghs.googlehosted.com",
"endpoints": [
{
"address": "2607:f8b0:4004:c08::79",
"port": 0
},
{
"address": "142.251.111.121",
"port": 0
}
],
"hosts": [],
"query_type": "UNSPECIFIED",
"source": "dns",
"strings": [],
"timed_expiration": "13411494945628470",
"type": "data"
}
]
Currently, CNAMES and other DNS details are only stored as part of the main page, and largely done using dedicated lookups.
We should add the passive details that are already available in the netlog for all of the origins resolved (CNAMES, SVCB records, address list, etc).
The main question is WHERE to put the data. The options that come to mind are:
The raw results look something like this: