``also-notify`` always receive a notification. Even if they do not match
the list in :ref:`setting-only-notify`.
-.. _setting-any-lookups-only:
-
-``any-lookups-only``
---------------------
-
-- Boolean
-- Default: yes
-
-.. versionadded:: 4.4.0
-
-Whether PowerDNS will only send ANY lookups to its backends, instead of sometimes requesting the exact needed type.
-This reduces the load on backends by retrieving all the types for a given name at once, adding all of them to the cache.
-It improves performance significantly for latency-sensitive backends, like SQL ones, where a round-trip takes serious time.
-This behaviour is enabled by default but can be disabled by setting this option to "no" for the few multi-backends setups
-that do not support it.
-
.. _setting-any-to-tcp:
``any-to-tcp``
Name of this virtual configuration - will rename the binary image. See
:doc:`guides/virtual-instances`.
+.. _setting-consistent-backends:
+
+``consistent-backends``
+--------------------
+
+- Boolean
+- Default: no
+
+.. versionadded:: 4.4.0
+
+When this is set, PowerDNS assumes that any single domain lives in only one backend.
+This allows PowerDNS to send ANY lookups to its backends, instead of sometimes requesting the exact needed type.
+This reduces the load on backends by retrieving all the types for a given name at once, adding all of them to the cache.
+It improves performance significantly for latency-sensitive backends, like SQL ones, where a round-trip takes serious time.
+This behaviour will be enabled by default in a future release.
+
.. _setting-control-console:
``control-console``
::arg().set("max-generate-steps", "Maximum number of $GENERATE steps when loading a zone from a file")="0";
::arg().setSwitch("upgrade-unknown-types","Transparently upgrade known TYPExxx records. Recommended to keep off, except for PowerDNS upgrades until data sources are cleaned up")="no";
- ::arg().set("any-lookups-only", "Send only ANY lookup operations to the backend to reduce the number of lookups")="yes";
+ ::arg().set("consistent-backends", "Assume individual domains are not divided over backends. Send only ANY lookup operations to the backend to reduce the number of lookups")="yes";
::arg().set("rng", "Specify the random number generator to use. Valid values are auto,sodium,openssl,getrandom,arc4random,urandom.")="auto";
::arg().setDefaults();
::arg().set("chroot","Switch to this chroot jail")="";
::arg().set("dnssec-key-cache-ttl","Seconds to cache DNSSEC keys from the database")="30";
::arg().set("domain-metadata-cache-ttl","Seconds to cache domain metadata from the database")="60";
- ::arg().set("any-lookups-only","Send only ANY lookup operations to the backend to reduce the number of lookups")="yes";
+ ::arg().set("consistent-backends", "Assume individual domains are not divided over backends. Send only ANY lookup operations to the backend to reduce the number of lookups")="yes";
// Keep this line below all ::arg().set() statements
if (! ::arg().laxFile(configname.c_str()))
void UeberBackend::go(void)
{
- if (::arg().mustDo("any-lookups-only")) {
+ if (::arg().mustDo("consistent-backends")) {
s_doANYLookupsOnly = true;
}