You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client DoT or TCP which result in a TCP downstream query end up recording the protocol as DoUDP in the response ring.
Environment
Operating system: Debian
Software version: master
Software source: compiled yourself
Steps to reproduce
Do a dig @127.0.0.1 google.com +tcp query and verify the downstream shows DoUDP instead of DoTCP
Time Client Protocol Server ID Name Type Lat. TC RD AA Rcode
-2.1 127.0.0.1:43359 DoTCP 32009 google.com. A RD Question
-2.1 127.0.0.1:43359 DoUDP 8.8.8.8:53 32009 google.com. A 64.3 RD No Error. 1 answers
Expected behaviour
DoTCP shown for downstream TCP connections.
Actual behaviour
It looks like the default is to show DoUDP unless it's a tcpOnly=true backend (or DoT/DoH to the backend). The protocol is taken from the downstream server state and not the protocol that was actually used for the downstream connection.
Short description
Client
DoT
orTCP
which result in a TCP downstream query end up recording the protocol asDoUDP
in the response ring.Environment
Steps to reproduce
Do a
dig @127.0.0.1 google.com +tcp
query and verify the downstream showsDoUDP
instead ofDoTCP
Expected behaviour
DoTCP
shown for downstream TCP connections.Actual behaviour
It looks like the default is to show
DoUDP
unless it's atcpOnly=true
backend (orDoT
/DoH
to the backend). The protocol is taken from the downstream server state and not the protocol that was actually used for the downstream connection.Other information
I would think maybe something like this:
but I am not sure if that works for
DNSCrypt
(or ifDoT
changes to not always map toTCP
), and if this has any other fallout.The text was updated successfully, but these errors were encountered: