Skip to content

Add DNS response details #49

@pmeenan

Description

@pmeenan

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:

  1. At a request level for the first request from a given origin
  2. At a request level, copied to every request for a given origin (seems wasteful)
  3. 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"
     }
   ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions