dig/delv/mdig +yaml output
- YAML output containing multiple messages (i.e., multiple queries and responses) is now implemented as a list, because Paul found that otherwise he couldn't parse more than one object from a stream.
dnstap-read -ydoesn't do this, which causes me to wonder if it's broken, but nobody's complained.
dig +qrwill emit both query and response messages.
+qrso it only emits response messages.
delvonly supports one QNAME at a time, so it only emits one record, not a list.
delv +yamloutput are modeled on
dnstap-read -y, with a few differences:
versionfields come from the frame stream and make no sense here
- there's no DNSTAP message type (e.g., CQ or RR or whatever)
- only the
response_message_datasections are included, not the
response_messagesections, because those are basically identical to the existing output of
dig, and I reckon if that's what someone needs, then they can just run
Closes #1145 (closed)