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
Got an error while parsing a TCP query from 192.168.1.210:48434, id 30750: Unhandled protocol for dnstap: DNS over HTTP/3
Got an error while parsing a TCP query from 192.168.1.210:48435, id 30751: Unhandled protocol for dnstap: DNS over QUIC
Other information
For DoQ I did the minimal changes in code with success
in dnsdist-lua-actions.cc
else if (protocol == dnsdist::Protocol::DoQ) {
return DnstapMessage::ProtocolType::DoQ;
}
in dnstap.hh , in the enum class ProtocolType I add DoQ = 7
For DoH3, what are you planned, reuse the DoH type or just UDP or a new one ?
PS: I can do a PR if you want.
The text was updated successfully, but these errors were encountered:
Nice catch, thanks! For DoH3 I think it would be good to open an issue on https://github.com/dnstap/dnstap.pb/issues asking what the preferred way is. I'm currently leaning toward adding a new value, but they might have a different opinion.
Hey @dmachard thanks for bringing this up on the dnstap.pb repo. I left my thoughts in a longer comment there, basically I'm suggesting a new optional HttpProtocol field that would indicate the HTTP version separately from how the semantics of how the HTTP protocol is used for DNS transport (whether that be RFC 8484 DoH or something else in the future).
The dnstap.proto specification basically operates on community consensus so if this looks good to the PowerDNS folks it would be great if someone could chime in on dnstap/dnstap.pb#20. It would also be great if another DNS server implementation that currently generates .socket_protocol = DOH dnstap payloads could chime in as well :-)
Short description
When DNStap logging is enabled in config, DNS resolutions failed with DoQ and DoH3.
Environment
Steps to reproduce
Configuration used
The following appears
Other information
For DoQ I did the minimal changes in code with success
in dnsdist-lua-actions.cc
in dnstap.hh , in the enum class ProtocolType I add
DoQ = 7
For DoH3, what are you planned, reuse the DoH type or just UDP or a new one ?
PS: I can do a PR if you want.
The text was updated successfully, but these errors were encountered: