[GH-ISSUE #30] prompting Cannot make the DNS request #23

Closed
opened 2026-03-14 01:05:13 +03:00 by kerem · 4 comments
Owner

Originally created by @liang-hiwin on GitHub (Aug 15, 2022).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/30

Windows 10 x64 system, dns-over-quic uses Release v1.5.1 to test normal parsing. Switching to Release v1.7.1 to test parsing fails, prompting Cannot make the DNS request: reading response from quic://domain.com:8053: EOF

Originally created by @liang-hiwin on GitHub (Aug 15, 2022). Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/30 Windows 10 x64 system, dns-over-quic uses Release v1.5.1 to test normal parsing. Switching to Release v1.7.1 to test parsing fails, prompting Cannot make the DNS request: reading response from quic://domain.com:8053: EOF
kerem 2026-03-14 01:05:13 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@liang-hiwin commented on GitHub (Aug 15, 2022):

Release v1.5.1 test

PS C:\WINDOWS\system32> dnslookup www.ksksy.com  quic://domain.com:8053
dnslookup v. v1.5.1
dnslookup result:
;; opcode: QUERY, status: NOERROR, id: 39672
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;www.ksksy.com. IN       A

;; ANSWER SECTION:
www.ksksy.com.  6       IN      A       103.110.61.36

;; ADDITIONAL SECTION:

;; OPT PSEUDOSECTION:
; EDNS: version 0; flags: ; udp: 4096
; SUBNET: xxx.yyy.zzz.0/24/0

Release v1.7.1 test

PS C:\WINDOWS\system32> dnslookup www.ksksy.com  quic://domain.com:8053
dnslookup v. v1.7.1
2022/08/15 23:20:27 Cannot make the DNS request: reading response from quic://domain.com:8053: EOF

<!-- gh-comment-id:1215160191 --> @liang-hiwin commented on GitHub (Aug 15, 2022): Release v1.5.1 test ``` PS C:\WINDOWS\system32> dnslookup www.ksksy.com quic://domain.com:8053 dnslookup v. v1.5.1 dnslookup result: ;; opcode: QUERY, status: NOERROR, id: 39672 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;www.ksksy.com. IN A ;; ANSWER SECTION: www.ksksy.com. 6 IN A 103.110.61.36 ;; ADDITIONAL SECTION: ;; OPT PSEUDOSECTION: ; EDNS: version 0; flags: ; udp: 4096 ; SUBNET: xxx.yyy.zzz.0/24/0 ``` Release v1.7.1 test ``` PS C:\WINDOWS\system32> dnslookup www.ksksy.com quic://domain.com:8053 dnslookup v. v1.7.1 2022/08/15 23:20:27 Cannot make the DNS request: reading response from quic://domain.com:8053: EOF ```
Author
Owner

@liang-hiwin commented on GitHub (Aug 15, 2022):

linux debian 10 x64 test

root@dns2:~# dnslookup www.ksksy.com  quic://domain.com:8053
dnslookup v. v1.7.1
2022/08/15 23:30:34 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2022/08/15 23:30:34 Cannot make the DNS request: reading response from quic://domain.com:8053: EOF


<!-- gh-comment-id:1215169065 --> @liang-hiwin commented on GitHub (Aug 15, 2022): linux debian 10 x64 test ``` root@dns2:~# dnslookup www.ksksy.com quic://domain.com:8053 dnslookup v. v1.7.1 2022/08/15 23:30:34 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details. 2022/08/15 23:30:34 Cannot make the DNS request: reading response from quic://domain.com:8053: EOF ```
Author
Owner

@liang-hiwin commented on GitHub (Aug 15, 2022):

Increase sysctl -w net.core.rmem_max=2500000 in this way, the test is invalid

<!-- gh-comment-id:1215238536 --> @liang-hiwin commented on GitHub (Aug 15, 2022): Increase sysctl -w net.core.rmem_max=2500000 in this way, the test is invalid
Author
Owner

@ameshkov commented on GitHub (Aug 15, 2022):

@thb007 note that DoQ standard has changed in between, probably your server uses an old draft.

With DoQ v1.0 DNS messages are encoded with a 2-octet prefix which was not needed in the first drafts.

<!-- gh-comment-id:1215743653 --> @ameshkov commented on GitHub (Aug 15, 2022): @thb007 note that DoQ standard has changed in between, probably your server uses an old draft. With DoQ v1.0 DNS messages are encoded with a 2-octet prefix which was not needed in the first drafts.
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#23
No description provided.