Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add endpoint to detect DNS over HTTP supports. #1016

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

righettod
Copy link
Contributor

@righettod righettod commented Apr 25, 2024

Hi,

This PR add the endpoint exposed when the target supports DNS over HTTP requests.

馃摉My sources were the following ones:

馃憖If the target supports DNS over HTTP then, the behavior should be the following to an HTTP GET (the HTTP 400 is normal because the accept request header to application/dns-json is missing) :

image

馃憖Otherwise an HTTP 404 should be obtained:

image

馃槈Thanks in advance.

Copy link
Contributor

@ItsIgnacioPortal ItsIgnacioPortal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants