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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --insecure-skip-verify flag #40

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Add --insecure-skip-verify flag #40

merged 2 commits into from
Aug 30, 2024

Conversation

picatz
Copy link
Owner

@picatz picatz commented Aug 30, 2024

This PR aims to fix #39 so it is now possible to (insecurely) skip TLS server certificate verification when making DoH queries.

$ doh query google.com --insecure-skip-verify --servers https://127.0.0.1:8080/dns-query
...
$ doh query google.com -k --servers https://127.0.0.1:8080/dns-query
...

This is somewhat useful for local DoH servers, but should generally be avoided for public servers.

@picatz picatz merged commit c8c97ef into master Aug 30, 2024
1 check passed
@picatz picatz deleted the add-insecure-mode branch August 30, 2024 14:46
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.

FR: Add --insecure/-k to allow insecure connections
1 participant