From 44a0106e9310e11ca983a4f654e5537a932a4265 Mon Sep 17 00:00:00 2001 From: Viranch Mehta Date: Sun, 2 Apr 2023 05:01:22 -0700 Subject: [PATCH] Add subnet targeting to dynamic records doc --- docs/dynamic_records.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/dynamic_records.md b/docs/dynamic_records.md index e019c94..78f42d8 100644 --- a/docs/dynamic_records.md +++ b/docs/dynamic_records.md @@ -78,6 +78,23 @@ The first portion is the continent: The second is the two-letter ISO Country Code https://en.wikipedia.org/wiki/ISO_3166-2 and the third is the ISO Country Code Subdivision as per https://en.wikipedia.org/wiki/ISO_3166-2:US. Change the code at the end for the country you are subdividing. Note that these may not always be supported depending on the providers in use. +#### Subnets + +Dynamic record rules also support subnet targeting in some providers: + +``` +... + rules: + - geos: + - AS + - OC + subnets: + # Subnets used in matching queries + - 5.149.176.0/24 + pool: apac +... +``` + ### Health Checks octoDNS will automatically configure the provider to monitor each IP and check for a 200 response for **https:///_dns**.