From 3cffb0df321c7f8f583a66f07a7ed3cce5dc6811 Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Mon, 17 Nov 2025 11:08:04 +0100 Subject: [PATCH] Add gateway_dns_location.tf --- gateway_dns_location.tf | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 gateway_dns_location.tf diff --git a/gateway_dns_location.tf b/gateway_dns_location.tf new file mode 100644 index 0000000..737de69 --- /dev/null +++ b/gateway_dns_location.tf @@ -0,0 +1,39 @@ +# ============================================================================= +# CLOUDFLARE : Gateway : DNS location +# ============================================================================= + +# +resource "cloudflare_zero_trust_dns_location" "example_zero_trust_dns_location" { + account_id = local.cloudflare_account_id + name = "Austin Office Location" + client_default = false +# dns_destination_ips_id = "0e4a32c6-6fb8-4858-9296-98f51631e8e6" + ecs_support = false + endpoints = { + doh = { + enabled = true + networks = [{ + network = "2001:85a3::/64" + }] + require_token = true + } + dot = { + enabled = true + networks = [{ + network = "2001:85a3::/64" + }] + } + ipv4 = { + enabled = true + } + ipv6 = { + enabled = true + networks = [{ + network = "2001:85a3::/64" + }] + } + } + networks = [{ + network = "192.0.2.1/32" + }] +} \ No newline at end of file