Feature request: show transport protocol in dig(1) footer
Description
I just stumbled over dig(1)
using TCP by default for ANY
requests, which is documented, but in the course of time I somehow forgot about that. Carsten came up with an idea I'd like to endorse: add the Transport protocol
to the footer of dig(1)
's output.
Request
What we'd like to see is the transport dig(1)
has ultimately used for the query, somewhat along these lines:
;; Query time: 589 msec
;; SERVER: 172.22.1.8#53(172.22.1.8)
;; TRANSPORT: TCP
;; WHEN: Thu Oct 29 12:40:17 UTC 2020
;; MSG SIZE rcvd: 53
The transport would likely be one of TCP
, UDP
, DoT
, or DoH
.