We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, this library always uses HTTP POST:
go-doh-resolver/request.go
Line 28 in 8a8a984
RFC8484 allows both GET and POST, and if there is a server that uses only GET, this library will fail to use it
Detect when DoH endpoint ends with ?dns and use GET instead of POST
?dns
https://dnsserver.example.net/dns-query
https://dnsserver.example.net/dns-query?dns
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now, this library always uses HTTP POST:
go-doh-resolver/request.go
Line 28 in 8a8a984
RFC8484 allows both GET and POST, and if there is a server that uses only GET, this library will fail to use it
Proposed enhancement
Detect when DoH endpoint ends with
?dns
and use GET instead of POSThttps://dnsserver.example.net/dns-query
?dns
is present:https://dnsserver.example.net/dns-query?dns
The text was updated successfully, but these errors were encountered: