]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Remove experimental warnings for YAML 13557/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 4 Dec 2023 11:25:55 +0000 (12:25 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 4 Dec 2023 11:25:55 +0000 (12:25 +0100)
YAML settings are no longer experimental, but still only used if a `recursor.yml` file is found in the config dir.

pdns/recursordist/docs/appendices/example/conversion
pdns/recursordist/docs/manpages/rec_control.1.rst
pdns/recursordist/rec_channel_rec.cc
pdns/recursordist/rec_control.cc

index f4b4d3d73740568e88c208c46e156c5b40e0941d..c9f74cdd179da2ac0665ef36e1ed39aab15a055d 100644 (file)
@@ -1,4 +1,3 @@
-# THIS IS A PROOF OF CONCEPT! STRUCTURE, TYPES AND NAMES ARE SUBJECT TO CHANGE
 # Start of converted recursor.yml based on recursor.conf
 dnssec:
   validation: validate
index 99b4a8317f2abf4603d67edb750d4e5e023e77af..a576e58936db1d3540640752d2ad74387d38061a 100644 (file)
@@ -244,6 +244,9 @@ set-event-trace-enabled *NUM*
     Set logging of event trace messages, ``0`` = disabled, ``1`` = protobuf,
     ``2`` = log file, ``3`` = protobuf and log file.
 
+show-yaml [*FILE*]
+    Show Yaml representation of odl-style config.
+
 top-queries
     Shows the top-20 queries. Statistics are over the last
     'stats-ringbuffer-entries' queries.
@@ -338,9 +341,6 @@ wipe-cache *DOMAIN* [*DOMAIN*] [...]
 wipe-cache-typed *qtype* *DOMAIN* [*DOMAIN*] [...]
     Same as wipe-cache, but only wipe records of type *qtype*.
 
-show-yaml [*FILE*]
-    Show Yaml representation of config. EXPERIMENTAL.
-
 See also
 --------
 :manpage:`pdns_recursor(1)`
index 186befa61c067fbf153fb9f7485eec65238d945a..230a7abbdd3608500a83c70720036ab43780a57a 100644 (file)
@@ -2091,6 +2091,7 @@ static RecursorControlChannel::Answer help()
           "set-carbon-server                set a carbon server for telemetry\n"
           "set-dnssec-log-bogus SETTING     enable (SETTING=yes) or disable (SETTING=no) logging of DNSSEC validation failures\n"
           "set-event-trace-enabled SETTING  set logging of event trace messages, 0 = disabled, 1 = protobuf, 2 = log file, 3 = both\n"
+          "show-yaml [file]                 show yaml config derived from old-style config\n"
           "trace-regex [regex file]         emit resolution trace for matching queries (no arguments clears tracing)\n"
           "top-largeanswer-remotes          show top remotes receiving large answers\n"
           "top-queries                      show top queries\n"
@@ -2106,8 +2107,7 @@ static RecursorControlChannel::Answer help()
           "unload-lua-script                unload Lua script\n"
           "version                          return Recursor version number\n"
           "wipe-cache domain0 [domain1] ..  wipe domain data from cache\n"
-          "wipe-cache-typed type domain0 [domain1] ..  wipe domain data with qtype from cache\n"
-          "show-yaml [file]                 EXPERIMENTAL command to show yaml config derived from old-style config\n"};
+          "wipe-cache-typed type domain0 [domain1] ..  wipe domain data with qtype from cache\n"};
 }
 
 template <typename T>
index 6264ae51220a7689fbab2ac05cb60dc47ea44429..c44525fcc0f224d0448300a13f71d8ac57723beb 100644 (file)
@@ -202,7 +202,6 @@ static RecursorControlChannel::Answer showYAML(const std::string& path)
   try {
     std::string msg;
     auto converted = pdns::settings::rec::oldStyleSettingsFileToYaml(configName, true);
-    msg += "# THIS IS A PROOF OF CONCEPT! STRUCTURE, TYPES AND NAMES ARE SUBJECT TO CHANGE\n";
     msg += "# Start of converted recursor.yml based on " + configName + "\n";
     msg += converted;
     msg += "# Validation result: ";