Open realbugi opened 8 months ago
Thanks for filling this issue! The DoH3 feature is not yet at feature parity with the existing DoH code, and SNI and HTTP attributes are indeed not exposed to Lua at the moment. We are planning on fixing this gap in the next major version, and will likely backport it to 1.9.x if it's not too invasive.
Short description
dnsdist does not provide requested domain with lua (
getServerNameIndication
,getHTTPHost
) over HTTP3 for Apple devices.Environment
Steps to reproduce
function show_domain(dq) pdnslog('protocol: ' .. dq:getProtocol() .. ' SNI: ' .. dq:getServerNameIndication() .. ' HOST: ' .. dq:getHTTPHost()) end
addAction(AllRule(), LuaAction(show_domain))
Apr 07 00:20:55 trubadur dnsdist[1212653]: protocol: DNS over HTTP/3 SNI: HOST: