From 75e75a8846720af4741adb5f9ea57d9518efe004 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 12 Dec 2020 08:09:19 +0000 Subject: [PATCH 1/2] Updated doc for unsafe thresholds --- docs/records.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/records.md b/docs/records.md index d287d8a..56e2493 100644 --- a/docs/records.md +++ b/docs/records.md @@ -120,3 +120,18 @@ If you'd like to enable lenience for a whole zone you can do so with the followi targets: - ns1 ``` + +#### Restrict Record manipulations + +OctoDNS currently provides us the ability to limit the frequency of update/deletes on +DNS records by allowing us to configure a percentage of the allowed operations as a +threshold parameter. If left unconfigured, suitable defaults take over instead. +In the below example, the Dynamic provider configured accomodates only 40% of both +update and delete operations over all the records present. + +````yaml +dyn: + class: octodns.provider.dyn.DynProvider + update_pcent_threshold: 0.4 + delete_pcent_threshold: 0.4 +```` \ No newline at end of file From 77c65b042ec63564bfff0334177c99abb2f34fda Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Mon, 14 Dec 2020 06:24:17 -0800 Subject: [PATCH 2/2] Wording tweaks to threshold params doc --- docs/records.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/records.md b/docs/records.md index 56e2493..4cf1e4b 100644 --- a/docs/records.md +++ b/docs/records.md @@ -123,15 +123,15 @@ If you'd like to enable lenience for a whole zone you can do so with the followi #### Restrict Record manipulations -OctoDNS currently provides us the ability to limit the frequency of update/deletes on -DNS records by allowing us to configure a percentage of the allowed operations as a -threshold parameter. If left unconfigured, suitable defaults take over instead. -In the below example, the Dynamic provider configured accomodates only 40% of both -update and delete operations over all the records present. +OctoDNS currently provides the ability to limit the number of updates/deletes on +DNS records by configuring a percentage of allowed operations as a threshold. +If left unconfigured, suitable defaults take over instead. In the below example, +the Dyn provider is configured with limits of 40% on both update and +delete operations over all the records present. ````yaml dyn: class: octodns.provider.dyn.DynProvider update_pcent_threshold: 0.4 delete_pcent_threshold: 0.4 -```` \ No newline at end of file +````