summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2023-03-21 16:53:32 +0100
committerThomas Markwalder <tmark@isc.org>2023-03-24 17:50:00 +0100
commit904f4d26112b4cff5651691151f5349e7cab723b (patch)
tree8294b560c07b3d7e8b4895d684b0bd082ec89d65 /doc
parent[#2748] Update release checklist (diff)
downloadkea-904f4d26112b4cff5651691151f5349e7cab723b.tar.xz
kea-904f4d26112b4cff5651691151f5349e7cab723b.zip
[#225] Added ddsn-ttl-percent parameter
kea-dhcp4/6 both now support ddns-ttl-percent at the global, shared-network, and subnet scopes. If specified it is the percentage of the lease lifetime to send to D2. Not yet supported by CB. modified: doc/examples/kea4/all-keys.json doc/examples/kea6/all-keys.json src/bin/dhcp4/dhcp4_lexer.cc src/bin/dhcp4/dhcp4_lexer.ll src/bin/dhcp4/dhcp4_parser.cc src/bin/dhcp4/dhcp4_parser.h src/bin/dhcp4/dhcp4_parser.yy src/bin/dhcp4/json_config_parser.cc src/bin/dhcp4/location.hh src/bin/dhcp6/dhcp6_lexer.cc src/bin/dhcp6/dhcp6_lexer.ll src/bin/dhcp6/dhcp6_parser.cc src/bin/dhcp6/dhcp6_parser.h src/bin/dhcp6/dhcp6_parser.yy src/bin/dhcp6/dhcp6_srv.cc src/bin/dhcp6/json_config_parser.cc src/bin/dhcp6/location.hh src/bin/dhcp6/tests/fqdn_unittest.cc src/lib/dhcpsrv/cfg_globals.cc src/lib/dhcpsrv/cfg_globals.h src/lib/dhcpsrv/dhcpsrv_messages.cc src/lib/dhcpsrv/dhcpsrv_messages.h src/lib/dhcpsrv/dhcpsrv_messages.mes src/lib/dhcpsrv/ncr_generator.cc src/lib/dhcpsrv/ncr_generator.h src/lib/dhcpsrv/network.cc src/lib/dhcpsrv/network.h src/lib/dhcpsrv/parsers/base_network_parser.cc src/lib/dhcpsrv/parsers/base_network_parser.h src/lib/dhcpsrv/parsers/simple_parser4.cc src/lib/dhcpsrv/parsers/simple_parser6.cc src/lib/dhcpsrv/srv_config.cc src/lib/dhcpsrv/srv_config.h src/lib/dhcpsrv/tests/ncr_generator_unittest.cc src/lib/dhcpsrv/tests/network_unittest.cc src/lib/dhcpsrv/tests/srv_config_unittest.cc
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/kea4/all-keys.json10
-rw-r--r--doc/examples/kea6/all-keys.json10
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/examples/kea4/all-keys.json b/doc/examples/kea4/all-keys.json
index 005438ecb0..6d6375893e 100644
--- a/doc/examples/kea4/all-keys.json
+++ b/doc/examples/kea4/all-keys.json
@@ -214,6 +214,10 @@
// It may be specified at the global, shared-network and subnet levels.
"ddns-use-conflict-resolution": true,
+ // When greater than 0.0, it is the percent of the lease's lifetime
+ // to use for the DNS TTL.
+ "ddns-ttl-percent": 0.75,
+
// Time in seconds specifying how long a declined lease should be
// excluded from DHCP assignments. The default value is 24 hours.
"decline-probation-period": 86400,
@@ -772,6 +776,9 @@
"ddns-use-conflict-resolution": true,
// Shared network level value. See description at the global level.
+ "ddns-ttl-percent": 0.75,
+
+ // Shared network level value. See description at the global level.
"hostname-char-replacement": "x",
// Shared network level value. See description at the global level.
@@ -911,6 +918,9 @@
"ddns-use-conflict-resolution": true,
// Subnet level value. See description at the global level.
+ "ddns-ttl-percent": 0.75,
+
+ // Subnet level value. See description at the global level.
"hostname-char-replacement": "x",
// Subnet level value. See description at the global level.
diff --git a/doc/examples/kea6/all-keys.json b/doc/examples/kea6/all-keys.json
index 74c7a60f8c..83c2449f7c 100644
--- a/doc/examples/kea6/all-keys.json
+++ b/doc/examples/kea6/all-keys.json
@@ -164,6 +164,10 @@
// It may be specified at the global, shared-network and subnet levels.
"ddns-use-conflict-resolution": true,
+ // When greater than 0.0, it is the percent of the lease's lifetime
+ // to use for the DNS TTL.
+ "ddns-ttl-percent": 0.75,
+
// Time in seconds specifying how long a declined lease should be
// excluded from DHCP assignments. The default value is 24 hours.
"decline-probation-period": 86400,
@@ -713,6 +717,9 @@
"ddns-use-conflict-resolution": true,
// Shared network level value. See description at the global level.
+ "ddns-ttl-percent": 0.65,
+
+ // Shared network level value. See description at the global level.
"hostname-char-replacement": "x",
// Shared network level value. See description at the global level.
@@ -844,6 +851,9 @@
"ddns-use-conflict-resolution": true,
// Subnet level value. See description at the global level.
+ "ddns-ttl-percent": 0.55,
+
+ // Subnet level value. See description at the global level.
"hostname-char-replacement": "x",
// Subnet level value. See description at the global level.