[GH-ISSUE #19] 1.5.0: tls: no application protocol #16

Closed
opened 2026-03-14 01:04:21 +03:00 by kerem · 1 comment
Owner

Originally created by @r0bj on GitHub (Nov 4, 2021).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/19

Originally assigned to: @ameshkov on GitHub.

dnslookup in version v1.5.0 cannot resolve domain via DoT. At the same time v1.4.9 works fine.

dnslookup v1.4.9:

dnslookup google.com tls://mydnsserver.tld
dnslookup v1.4.9
dnslookup result:
;; opcode: QUERY, status: NOERROR, id: 65336
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.	IN	 A

;; ANSWER SECTION:
google.com.	296	IN	A	172.217.6.78

dnslookup v. 1.5.0:

$ dnslookup google.com tls://mydnsserver.tld
dnslookup v. 1.5.0
2021/11/04 13:28:59 Cannot make the DNS request: Failed to get a connection from TLSPool to tls://mydnsserver.tld:853, cause: Failed to connect to mydnsserver.tld, cause: remote error: tls: no application protoco
Originally created by @r0bj on GitHub (Nov 4, 2021). Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/19 Originally assigned to: @ameshkov on GitHub. dnslookup in version v1.5.0 cannot resolve domain via DoT. At the same time v1.4.9 works fine. dnslookup v1.4.9: ``` dnslookup google.com tls://mydnsserver.tld dnslookup v1.4.9 dnslookup result: ;; opcode: QUERY, status: NOERROR, id: 65336 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 296 IN A 172.217.6.78 ``` dnslookup v. 1.5.0: ``` $ dnslookup google.com tls://mydnsserver.tld dnslookup v. 1.5.0 2021/11/04 13:28:59 Cannot make the DNS request: Failed to get a connection from TLSPool to tls://mydnsserver.tld:853, cause: Failed to connect to mydnsserver.tld, cause: remote error: tls: no application protoco ```
kerem closed this issue 2026-03-14 01:04:26 +03:00
Author
Owner

@ameshkov commented on GitHub (Nov 8, 2021):

Fixed in v1.5.1

<!-- gh-comment-id:963130454 --> @ameshkov commented on GitHub (Nov 8, 2021): Fixed in v1.5.1
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#16
No description provided.