tykling / dns_exporter

A multi-target Prometheus exporter with an exclusive focus on DNS monitoring.
BSD 3-Clause "New" or "Revised" License
26 stars 4 forks source link

DNS-over-HTTP3 aka DoH3 #112

Open mschirrmeister opened 2 months ago

mschirrmeister commented 2 months ago

dnspython has an option to specify H3, basically using QUIC for DNS-over-HTTPs. See https://github.com/rthalley/dnspython/pull/1068.

I have not seen anything in the docs or the code that references http_version or something similar. Is there a way specify the http protocol version that it should use? If yes, how can I do it? Or is there no option at the moment?

Having that option and metric would be very nice, because then we could compare how the same server performance differently between the http protocols.

tykling commented 2 months ago

Hi! :)

There is no DoH3 support at the moment, but it would absolutely be nice to have!

The code changes needed for DoH3 support in dns_exporter are ready. I am just waiting for a new dnspython release including the DoH3 support.

Stay tuned!

mschirrmeister commented 2 months ago

Ah, I see and I think I get it now. They have their support right now only in the main branch, but have not created a new release yet, which includes it.