cloudflared-mirror/cfapi
@StringerBell69 ef095a3ac8 Fix cloudflared tunnel route dns zone resolution bug
When users have multiple domains, tunnel route dns would incorrectly use the default zoneID from the login certificate, creating an invalid CNAME record (e.g. app.domain1.com.domain2.com).

This fix introduces ListZones in cfapi to fetch all valid zones for the account and explicitly checks if the provided hostname exactly matches or is a subdomain of a discovered zone, preventing this behavior and dynamically adjusting the endpoint to the correct Zone ID.
2026-03-15 00:10:51 +01:00
..
base_client.go Fix cloudflared tunnel route dns zone resolution bug 2026-03-15 00:10:51 +01:00
client.go Fix cloudflared tunnel route dns zone resolution bug 2026-03-15 00:10:51 +01:00
hostname.go Fix cloudflared tunnel route dns zone resolution bug 2026-03-15 00:10:51 +01:00
hostname_test.go Fix cloudflared tunnel route dns zone resolution bug 2026-03-15 00:10:51 +01:00
ip_route.go TUN-8281: Run cloudflared query list tunnels/routes endpoint in a paginated way 2024-03-19 16:35:40 +00:00
ip_route_filter.go TUN-8281: Run cloudflared query list tunnels/routes endpoint in a paginated way 2024-03-19 16:35:40 +00:00
ip_route_test.go TUN-7787: Refactor cloudflared to use new route endpoints based on route IDs 2023-09-19 09:56:02 +00:00
tunnel.go TUN-10292: Add cloudflared management token command 2026-03-05 16:31:24 +00:00
tunnel_filter.go TUN-8281: Run cloudflared query list tunnels/routes endpoint in a paginated way 2024-03-19 16:35:40 +00:00
tunnel_test.go TUN-10292: Add cloudflared management token command 2026-03-05 16:31:24 +00:00
virtual_network.go TUN-9171: Use `is_default_network` instead of `is_default` to create vnet's 2025-06-05 15:02:21 +00:00
virtual_network_filter.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00
virtual_network_test.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00