ameshkov / dnslookup

Simple command line utility to make DNS lookups to the specified server

Repository from Github https://github.comameshkov/dnslookupRepository from Github https://github.comameshkov/dnslookup

1.5.0: tls: no application protocol

r0bj opened this issue · comments

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

Fixed in v1.5.1