distinguish Do53, DoT and DoH in the logs

Hello,

just playing with secure DNS I've the challenge to "see" what currently happen...

Unbound is configured for testing purposes with

server:
   do-daemonize: no
   logfile: ""
   log-replies: yes
   log-time-ascii: yes

   <Do53-setup>
   <DoT-setup>
   <DoH-setup>
EOF

and started interactive "unbound -c /path/unbound.conf"

This results in all query are logged to the current console.
BUT: the logs don't show whether a query arrived via Do53, DoT or HoH. They all looks similar.

It would be nice to be able to distinguish the different transports. Is this possible?

Andreas

Hi Andreas,

This is not possible at the moment.
Would you like to open an issue at https://github.com/NLnetLabs/unbound/issues ?

I would guess adding the destination port of the request on the query/reply logs would be enough?

Best regards
-- Yorgos

https://github.com/NLnetLabs/unbound/issues/969

Andreas