mirror of
https://github.com/ameshkov/dnslookup.git
synced 2026-04-27 06:26:24 +03:00
[GH-ISSUE #58] [Windows] invalid IP specified: SUBNET=1.2.3.4/24 or HTTP3=1 #42
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dnslookup#42
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 @odys2061 on GitHub (Nov 1, 2023).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/58
All works when query with basic feature:
But I'm going to get error code when query with extra options:
SUBNET
or
HTTP3
or
So how to use extra features on Windows (11)?
@ameshkov commented on GitHub (Nov 1, 2023):
On Windows the way you pass env variables is a bit different.
Try this:
@odys2061 commented on GitHub (Nov 1, 2023):
yes there's no error. But I found SUBNET not working.
the output is 36.155.132.31 when SUBNET=1.2.3.4/24:
It is still 36.155.132.31 when SUBNET=114.114.114.114/24:
Another example with Quad9 EDNS version:
SUBNET=1.2.3.4/24 for www.paypal.com
same result when SUBNET=114.114.114.114/24 for www.paypal.com
@odys2061 commented on GitHub (Nov 1, 2023):
If I typed
cmd /V /C "set SUBNET=1.2.3.4/24 && dnslookup example.org tls://8.8.8.8"then@ameshkov commented on GitHub (Nov 10, 2023):
Sorry, I don't have a Windows laptop to check this.
At some point in the future
dnslookupwill be rewritten to provide a different command-line interface, it will be better then.@odys2061 commented on GitHub (Nov 10, 2023):
Above all, thank you for developing this tool! I'm going to be happy to try futural version!