distinguish Do53, DoT and DoH in unbound.log?

A. Schulze sca at andreasschulze.de
Mon Feb 27 22:02:56 UTC 2023


Hello,

I run an unbound server offering multiple service flavors.
But I cannot distinguish them in the logs:

$ kdig hostname.bind. txt ch +https
unbound_1  | Feb 27 22:54:27 unbound[1:0] reply: 2001:db8::443 hostname.bind. TXT CH NOERROR 0.000000 1 75

$ kdig hostname.bind. txt ch +tls
unbound_1  | Feb 27 22:54:37 unbound[1:0] reply: 2001:db8::853 hostname.bind. TXT CH NOERROR 0.000000 1 468

$ kdig hostname.bind. txt ch +tcp
unbound_1  | Feb 27 22:55:09 unbound[1:0] reply: 2001:db8::53 hostname.bind. TXT CH NOERROR 0.000000 1 64

$ kdig hostname.bind. txt ch +notcp
unbound_1  | Feb 27 22:55:10 unbound[1:0] reply: 2001:db8::53 hostname.bind. TXT CH NOERROR 0.000000 1 64

Only the response size differ. Is there a way to log the used protocol?

Andreas


More information about the Unbound-users mailing list