Codescribe
a430372bab
fix: bracket IPv6 addresses in VPN DNS upstream config
...
upstreamConfigFor() used strings.Contains(":") to decide whether to
append ":53", which always evaluates true for IPv6 addresses. This left
bare addresses like "2a0d:6fc0:9b0:3600::1" without brackets or port,
causing net.Dial to reject with "too many colons in address".
Use net.JoinHostPort() which handles IPv6 bracketing automatically,
producing "[2a0d:6fc0:9b0:3600::1]:53".
2026-04-17 16:59:31 +07:00
..
2024-02-07 14:40:18 +07:00
2025-10-09 17:49:21 +07:00
2026-03-05 17:24:01 +07:00
2026-03-05 17:24:01 +07:00
2025-02-18 20:25:13 +07:00
2024-08-07 15:51:11 +07:00
2026-03-10 17:13:33 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2026-03-23 16:41:54 +07:00
2026-03-10 17:13:33 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 18:47:18 +07:00
2025-10-09 18:47:18 +07:00
2026-03-10 17:13:33 +07:00
2025-10-09 18:47:18 +07:00
2025-10-09 18:47:18 +07:00
2025-10-09 18:47:18 +07:00
2026-03-10 17:13:33 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 19:12:06 +07:00
2026-03-23 16:41:54 +07:00
2023-08-15 18:22:38 +07:00
2026-03-23 16:41:54 +07:00
2026-03-10 17:42:45 +07:00
2026-03-10 17:42:45 +07:00
2026-03-10 17:13:33 +07:00
2026-03-10 17:42:43 +07:00
2026-03-05 17:24:03 +07:00
2026-03-10 17:13:33 +07:00
2024-10-24 13:05:48 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 20:51:12 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2026-03-23 16:41:54 +07:00
2025-10-09 19:12:06 +07:00
2026-03-23 16:41:54 +07:00
2023-12-13 14:53:29 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 17:49:21 +07:00
2026-03-10 17:13:33 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 19:12:06 +07:00
2025-02-18 20:25:13 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2023-08-15 18:22:38 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2024-05-09 18:39:30 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2026-03-10 17:13:33 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 19:12:06 +07:00
2025-05-15 17:00:59 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2025-03-26 23:18:36 +07:00
2025-03-26 23:18:36 +07:00
2025-10-09 17:49:21 +07:00
2026-03-10 17:13:33 +07:00
2026-03-10 17:13:33 +07:00
2026-03-10 17:13:33 +07:00
2025-10-09 17:49:21 +07:00
2025-03-26 23:18:04 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 19:12:06 +07:00
2025-10-09 19:12:06 +07:00
2026-04-17 16:59:31 +07:00
2024-02-07 14:40:18 +07:00