-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: DNS-over-HTTPS support #647
Comments
I think this may already be possible with the various header and body sending and receiving field matching in the http probe. |
Sending is easy, for example this is a valid DoH request:
but how would I validate the DNS rcode or the response data? Can thanks! |
If the library we use makes it easy, we could add it. |
The tricky bit with the http method is the regexp matching of the binary data.
|
It doesn't look like https://github.com/miekg/dns supports RFC8484 yet. |
The HTTP body of RFC8484 responses, is just plain DNS wire format send in an HTTPS connection |
I'm not going to duplicate the entire DNS/HTTP probe in the other. If upstream adds it we can consider it then. |
blackbox_exporter got DNS-over-TLS support in #643,
it would be great to have DNS-over-HTTPS - DoH (RFC8484) support as well.
Currently we just test via HTTP and check the return code, but that is very limited and does not
detect any end-to-end issues, for example if the HTTP status code is 200 but there is no actual DNS payload within the HTTPS connection.
DoH support would be the combination of the HTTP (status codes, headers, basic auth, proxy, ..) and DNS (query name, rcodes, answer, ...) probes.
The text was updated successfully, but these errors were encountered: