This pull request started as a draft to enable users to see CNAME answers. It contained several patches which we merged separately (see https://github.com/ooni/probe-cli/pull/873#issuecomment-1222406732 and 2301a30630...60b7d1f87b
for details on what has actually changed, which is based on patches originally part of this PR). In its final form, however, this PR only deals with exposing more low-level DNS fields to the archival data format.
Closes: https://github.com/ooni/probe/issues/2228
Related PR spec: https://github.com/ooni/spec/pull/256
Package github.com/ooni/probe-cli/internal/model
Shared data structures and interfaces. We include in this
package the most fundamental types. Use go doc
to get
more thorough documentation about what is inside this package
and when to put a type inside this package.