GetDNSConfig() ignores -4 and -6 flags #26
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
Priority: High
Priority: Low
Priority: Medium
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sam/awl#26
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
To reproduce:
awl -4
orawl -6
Approximately half of the time something like
dial udp4: address [IPv6]: no suitable address found
will happenWhat happens:
At
85a00bffbf/cli.go (L196)
, the program grabs a random IP address from /etc/resolv.confWhat should happen
85a00bffbf/cli.go (L196)
should be refactored to only return IPv4 addresses if-4
is passed or IPv6 addresses if-6
is passed