From: Robin Geuze Date: Fri, 6 Jan 2017 10:22:44 +0000 (+0100) Subject: Fix documentation for truncateTC X-Git-Tag: rec-4.1.0-alpha1~296^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4062aebcd1c1acf27afc1ababbf9d89e6384a8af;p=thirdparty%2Fpdns.git Fix documentation for truncateTC Make it more concise specifying when the default behaviour changed. --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 10b1147115..44235ae040 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -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 diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index 26a08e6090..a317af9aaa 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -366,7 +366,7 @@ const std::vector 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" },