mirror of
https://github.com/ameshkov/dnslookup.git
synced 2026-04-27 14:36:05 +03:00
[GH-ISSUE #14] Can't use RethinkDNS filtered DoH addresses #11
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dnslookup#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tina-hello on GitHub (May 10, 2021).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/14
Unfiltered DoH address such as
https://basic.rethinkdns.com/
and
https://basic.rethinkdns.com/dns-query/
works, but
https://basic.rethinkdns.com/dns-query/1:AMD_PwDw
such as configured by https://rethinkdns.com/configure#1:AMD_PwDw doesn't work with the error message:
Cannot make the DNS request: dns: id mismatchThe filtered URL works with Chrome. This isn't simply because of the character, since
https://dns.nextdns.io/1:AMD_PwDw
works. So this seems to be a quirk on how either the dnslookup or RethinkDNS (which is based on Cloudflare Worker) send the query.
@ameshkov commented on GitHub (May 10, 2021):
This looks more like a bug of RethinkDNS that returns responses with the wrong DNS ID.
@ignoramous could you please take a look?
@tina-hello commented on GitHub (May 10, 2021):
Yeah I just tested the URL against https://dohjs.org/, they don't work with GET, but work with POST. While Chrome seems to only use POST for DoH calls, the standards actually include both GET & POST, I guess both dnslookup and AdGuard Home (at least the test stream) use GET instead?
@ameshkov commented on GitHub (May 10, 2021):
We use GET for a reason, it's better from the performance point of view (POST implementation in golang is a bit messy).
@ignoramous commented on GitHub (May 11, 2021):
@ameshkov Tracking it here: https://github.com/serverless-dns/serverless-dns/issues/2
GETwas once disabled due to bots, forgot to enable it back again.Thanks!