[GH-ISSUE #54] IP-based DoH fails on Windows: failed to verify certificate #37

Closed
opened 2026-03-14 01:07:29 +03:00 by kerem · 5 comments
Owner

Originally created by @ghost on GitHub (Jun 28, 2023).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/54

Hi,

I wonder why I can't use these types of DoH addresses:

https://8.8.8.8/dns_query
https://1.1.1.1/dns_query
https://77.88.8.8/dns_query

Originally created by @ghost on GitHub (Jun 28, 2023). Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/54 Hi, I wonder why I can't use these types of DoH addresses: https://8.8.8.8/dns_query https://1.1.1.1/dns_query https://77.88.8.8/dns_query
kerem 2026-03-14 01:07:29 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@ameshkov commented on GitHub (Jul 4, 2023):

Hi, it should be dns-query, not dns_query

<!-- gh-comment-id:1620094322 --> @ameshkov commented on GitHub (Jul 4, 2023): Hi, it should be `dns-query`, not `dns_query`
Author
Owner

@ghost commented on GitHub (Jul 4, 2023):

@ameshkov

Thank you for the correction but it doesn't work.

<!-- gh-comment-id:1620621720 --> @ghost commented on GitHub (Jul 4, 2023): @ameshkov Thank you for the correction but it doesn't work.
Author
Owner

@ameshkov commented on GitHub (Jul 5, 2023):

Works on my side
image

<!-- gh-comment-id:1621366672 --> @ameshkov commented on GitHub (Jul 5, 2023): Works on my side ![image](https://github.com/ameshkov/dnslookup/assets/5947035/511d1ee9-fcf4-44bb-ac5c-4849b77359cb)
Author
Owner

@ghost commented on GitHub (Jul 6, 2023):

@ameshkov

I'm sorry for my late response but it doesn't work on my side on Windows OS.

IMG_20230706_171027_130.jpg

<!-- gh-comment-id:1623616801 --> @ghost commented on GitHub (Jul 6, 2023): @ameshkov I'm sorry for my late response but it doesn't work on my side on Windows OS. ![IMG_20230706_171027_130.jpg](https://github.com/ameshkov/dnslookup/assets/132169513/12ffc005-205a-4dc5-9ce0-88524384845f)
Author
Owner

@ameshkov commented on GitHub (Jul 7, 2023):

@alidxdydz got it, that's a known issue on Windows, the bug is in crypto/tls library of Golang so it cannot be fixed on our side.

The only thing that I'd suggest is to disable TLS verification: VERIFY=0 dnslookup example.org https://1.1.1.1/dns-query

<!-- gh-comment-id:1625276676 --> @ameshkov commented on GitHub (Jul 7, 2023): @alidxdydz got it, that's a known issue on Windows, the bug is in `crypto/tls` library of Golang so it cannot be fixed on our side. The only thing that I'd suggest is to disable TLS verification: `VERIFY=0 dnslookup example.org https://1.1.1.1/dns-query`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dnslookup#37
No description provided.