mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-14 05:41:54 +00:00
[GH-ISSUE #33] Prefer an ipv6 #7
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-go#7
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 @yuanwenliang on GitHub (Jun 9, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-go/issues/33
Can the AmneziaWG be changed to give priority to ipv6 addresses, or add a setting item to allow users to choose to give priority to ipv6 or ipv4? This is because once AmneziaWG finds an IPv4 address through DNS, they will no longer use the IPv6 address, and I hope AmneziaWG can use the IPv6 address.
@pokamest commented on GitHub (Jun 9, 2024):
amneziawg-go like a wireguard-go doesn't resolve DNS names by itself, it's happening in the client app.
Could you please describe your issue in detail, how to reproduce it?
@yuanwenliang commented on GitHub (Jun 9, 2024):
When I use AmneziaWG as a wireguard client, if the peer information is a domain name plus a port number, on iOS, the domain name will only be resolved to an IPv4 address. For example, www.xxx.com:1234 will be resolved to 1.2.3.4:1234, and 1.2.3.4 will be used as the server address. But I hope to be able to use the IPv6 address associated with the domain name, like 2000:daf0::1:1234.
@yuanwenliang commented on GitHub (Jun 9, 2024):
github.com/amnezia-vpn/amneziawg-apple@ef929efece/Sources/WireGuardKit/DNSResolver.swift (L125)@pokamest commented on GitHub (Jun 10, 2024):
so it related to https://github.com/amnezia-vpn/amneziawg-apple
You can open issue in the amneziawg-apple