Xray-core/proxy/wireguard
Meow a3ba3eefb6
Wireguard: Decouple server endpoint DNS from address option (#5417)
* Wireguard: Decouple server endpoint DNS from address option

Previously, Wireguard server endpoint's domain resolution was incorrectly constrained by the local `address` option. For example, `ForceIPv6v4` might fail to resolve AAAA records for the server domain if no IPv6 was explicitly configured in the `address` option.

This commit decouples the server endpoint's domain resolution from the local `address` configuration. It ensures the Wireguard server address is resolved independently, allowing its `domainStrategy` to function correctly without being limited by the client's local network or `address` settings.

* Delete code instead of commenting it out
2025-12-14 10:13:47 -05:00
..
gvisortun WireGuard: Improve config error handling; Prevent panic in case of errors during server initialization (#4566) 2025-03-30 22:55:21 +00:00
bind.go Chore: Remove all double gonet import (#5402) 2025-12-10 07:17:29 +00:00
client.go Wireguard: Decouple server endpoint DNS from address option (#5417) 2025-12-14 10:13:47 -05:00
config.go Wireguard inbound: Do not use kernel TUN (#3960) 2024-11-02 21:07:17 +00:00
config.pb.go WireGuard config: Replace kernelMode with noKernelTun 2024-10-18 00:10:09 +00:00
config.proto WireGuard config: Replace kernelMode with noKernelTun 2024-10-18 00:10:09 +00:00
server.go Wireguard inbound: Fix context sharing problem (#4988) 2025-08-17 10:56:48 -04:00
server_test.go WireGuard: Improve config error handling; Prevent panic in case of errors during server initialization (#4566) 2025-03-30 22:55:21 +00:00
tun.go Chore: Remove all double gonet import (#5402) 2025-12-10 07:17:29 +00:00
tun_default.go WireGuard kernelTun: Check Capabilities instead of checking UID (#3871) 2024-10-15 03:30:29 +00:00
tun_linux.go WireGuard kernelTun: Fix multi-outbounds not work (#4015) 2024-11-14 00:13:27 +00:00
wireguard.go Remove legacy code (#3838) 2024-09-23 11:28:19 -04:00