mirror of
https://github.com/ameshkov/dnslookup.git
synced 2026-04-27 14:36:05 +03:00
[GH-ISSUE #6] Accept query type argument #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dnslookup#5
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 @hackel on GitHub (Sep 17, 2020).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/6
It would be very useful to be able to supply the query type (A, AAAA, MX, etc.) when using this tool. I don't know go, but a quick look at the dns library makes it look pretty easy to add.
@timkgh commented on GitHub (Dec 28, 2020):
+1
@ameshkov commented on GitHub (Apr 22, 2021):
Possible with
RRTYPE:RRTYPE=AAAA ./dnslookup example.org tls://dns.google@timkgh commented on GitHub (Apr 22, 2021):
Possible, but not ergonomic at all to use, not in the help.
How can a user discover it and remember how to use it?
@huyz commented on GitHub (Apr 22, 2021):
I also find it a bit strange that options are passed by environment variable rather than as arguments to the command. Not typical for CLI commands
@ameshkov commented on GitHub (Apr 22, 2021):
Yeah, the CLI interface is rather ugly at the moment indeed.
I just don't have enough spare time to rework it.
Also, after reworking the CLI interface, I'll likely have to call it version 2.0 since it won't be compatible with v1.
@ainar-g commented on GitHub (Sep 21, 2022):
@ameshkov, it's exceptionally unergonomic in PowerShell. Since there is currently no way to set an environment variable for one command only, one has to do something like this:
I'd suggest at least reopening the issue.
@ameshkov commented on GitHub (Sep 21, 2022):
I'd prefer to completely change the command-line interface in /v2, it's not just about query type