mirror of
https://github.com/ameshkov/dnslookup.git
synced 2026-04-27 06:26:24 +03:00
[GH-ISSUE #43] Specify IP version on dual-stack #31
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dnslookup#31
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 @MeganerdNL on GitHub (Jan 8, 2023).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/43
Is it possible (to implement) to specify what IP version to use when on dual-stack? It seems to me that it now uses the first result from a DNS query of the used server. It is useful for me to specify if I want to use IPv4 or IPv6. This is probably similar or the same as #12
@ameshkov commented on GitHub (Jan 8, 2023):
Currently it always prefers IPv4 when it's available.
There's an option to override it if you use a DNS stamp as a server address.
Here's an example, a DNS query to
tls://dns.googlewhich uses8.8.8.8specifically:@MeganerdNL commented on GitHub (Jan 9, 2023):
Thanks, that is very helpful for now and works as you described!