]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Update stale YAML selectors documentation
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 2 Jun 2025 13:41:07 +0000 (15:41 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 Jun 2025 14:11:51 +0000 (16:11 +0200)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/docs/reference/yaml-selectors.rst

index 4fb2d90b40214555a9aa2d174f9c97176f78bb71..cecaf850e27c936c3c5ae51440d0b2ceb564c16e 100644 (file)
@@ -613,6 +613,7 @@ Parameters:
 
 - **tag**: String - The name of the tag that has to be set
 - **value**: String ``("")`` - If set, the value the tag has to be set to
+- **empty-as-wildcard**: Boolean ``(true)`` - Because of a limitation in our Rust <-> C++ interoperability layer, ``value`` defaults to an empty string, which makes it impossible to express whether an empty ``value`` means that we should match on all values (so as long as the tag has been set) or only if the value is actually empty. This flag fixes that: if ``value`` is empty and this parameter is set to ``false`` the selector will only match if the actual value of the tag is empty, while if it set to ``true`` (default) it will match as long as the tag is set, regardless of the value
 
 
 .. _yaml-settings-TCPSelector: