]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix documentation for truncateTC
authorRobin Geuze <robing@transip.nl>
Fri, 6 Jan 2017 10:22:44 +0000 (11:22 +0100)
committerRobin Geuze <robing@transip.nl>
Fri, 6 Jan 2017 10:22:44 +0000 (11:22 +0100)
Make it more concise specifying when the default behaviour changed.

pdns/README-dnsdist.md
pdns/dnsdist-console.cc

index 10b114711559bc3f9d833f6b4e58f7293c72ac58..44235ae0402c3d679a1bec8a5a67529aa81a3ad8 100644 (file)
@@ -1406,7 +1406,7 @@ instantiate a server with additional parameters
     * `addDelay(netmask, n)`: delay answers within that netmask by n milliseconds
     * `addDelay({netmask, netmask}, n)`: delay answers within those netmasks (together) by n milliseconds
  * Answer changing functions:
-    * `truncateTC(bool)`: if set (default to no) truncate TC=1 answers so they are actually empty. Fixes an issue for PowerDNS Authoritative Server 2.9.22. Note: turning this on breaks compatibility with RFC 6891.
+    * `truncateTC(bool)`: if set (defaults to no starting with dnsdist 1.2.0) truncate TC=1 answers so they are actually empty. Fixes an issue for PowerDNS Authoritative Server 2.9.22. Note: turning this on breaks compatibility with RFC 6891.
     * `fixupCase(bool)`: if set (default to no), rewrite the first qname of the question part of the answer to match the one from the query. It is only useful when you have a downstream server that messes up the case of the question qname in the answer
  * Dynamic Block related:
     * `maintenance()`: called every second by dnsdist if defined, call functions below from it
index 26a08e609026557142ef8a118af78eca5374c280..a317af9aaacfa1b7e48546048d830641c6d7df07 100644 (file)
@@ -366,7 +366,7 @@ const std::vector<ConsoleKeyword> g_consoleKeywords{
   { "topResponseRule", true, "", "move the last response rule to the first position" },
   { "topRule", true, "", "move the last rule to the first position" },
   { "topSlow", true, "[top][, limit][, labels]", "show `top` queries slower than `limit` milliseconds, grouped by last `labels` labels" },
-  { "truncateTC", true, "bool", "if set (default to no) truncate TC=1 answers so they are actually empty. Fixes an issue for PowerDNS Authoritative Server 2.9.22. Note: turning this one breaks compatibility with RFC 6891." },
+  { "truncateTC", true, "bool", "if set (defaults to no starting with dnsdist 1.2.0) truncate TC=1 answers so they are actually empty. Fixes an issue for PowerDNS Authoritative Server 2.9.22. Note: turning this one breaks compatibility with RFC 6891." },
   { "unregisterDynBPFFilter", true, "DynBPFFilter", "unregister this dynamic BPF filter" },
   { "webserver", true, "address:port, password [, apiKey [, customHeaders ]])", "launch a webserver with stats on that address with that password" },
   { "whashed", false, "", "Weighted hashed ('sticky') distribution over available servers, based on the server 'weight' parameter" },