]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add missed zoneSizeHint 15692/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 19 Jun 2025 07:06:41 +0000 (09:06 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 19 Jun 2025 07:06:41 +0000 (09:06 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/rec-rust-lib/docs-new-preamble-in.rst
pdns/recursordist/rec-rust-lib/rust-bridge-in.rs

index 0becbd5667aaece55abeec6e435a12ea73374fe9..6e76f3ce83c53a2525b70f64e65c913b67d250fb 100644 (file)
@@ -529,7 +529,7 @@ As of version 5.2.0, a forwarding catalog zone entry is defined as:
        recurse: bool, default false
        notify_allowed: bool, default false
 
-.. versionchanged:: 5.3.0 The aliases ``max_received_bytes``, ``local_address``, ``axfr_timeout`` have been introduced.
+.. versionchanged:: 5.3.0 The aliases ``zone_size_hint``, ``max_received_bytes``, ``local_address``, ``axfr_timeout`` have been introduced.
 
 While this setting has no equivalent old-style Lua configuration, it cannot appear together with :ref:`setting-lua-config-file` being set.
 If you want to use catalog zones to define forwards, you need to convert existing Lua configuration to YAML format.
index 3d76b84cf3b5fd2d420b64f3cacb8e8089886360..46b90831be3394390ca987db3a3274bb13720e42 100644 (file)
@@ -263,7 +263,7 @@ pub struct ApiZones {
 pub struct XFR {
     #[serde(default, skip_serializing_if = "crate::is_default")]
     addresses: Vec<String>,
-    #[serde(default, skip_serializing_if = "crate::is_default")]
+    #[serde(default, skip_serializing_if = "crate::is_default", alias = "zone_size_hint")]
     zoneSizeHint: u32,
     #[serde(default, skip_serializing_if = "crate::is_default")]
     tsig: TSIGTriplet,