]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: minor doc fixes 14944/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 9 Dec 2024 10:23:56 +0000 (11:23 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 9 Dec 2024 14:34:39 +0000 (15:34 +0100)
Fixes #14860

pdns/recursordist/docs/lua-scripting/dnsname.rst
pdns/recursordist/docs/manpages/rec_control.1.rst
pdns/recursordist/docs/running.rst

index 8b24df7ca8284ef4c37a9ee5b6147a2c747ab2b7..20e72284104d143b1fd9b3ef444e8129cd7f84e2 100644 (file)
@@ -19,13 +19,13 @@ A small example of the functionality of a :class:`DNSName` is shown below:
 .. code-block:: lua
 
   myname = newDN("www.example.com")
-  print(myname:countLabels()) -- prints "3"
-  print(myname:wirelength()) -- prints "17"
+  pdnslog(myname:countLabels()) -- prints "3"
+  pdnslog(myname:wirelength()) -- prints "17"
   name2 = newDN(myname)
-  name2:chopoff() -- returns true, as 'www' was stripped
-  print(name2:countLabels()) -- prints "2"
+  name2:chopOff() -- returns true, as 'www' was stripped
+  pdnslog(name2:countLabels()) -- prints "2"
   if myname:isPartOf(name2) then -- prints "it is"
-    print('it is')
+    pdnslog('it is')
   end
 
 Functions and methods of a ``DNSName``
index 80b779147994223a8a8096a1196812c13d0137c3..3f63486704e6cf4b1ba0880a29466102c6735ba3 100644 (file)
@@ -257,7 +257,7 @@ set-event-trace-enabled *NUM*
     ``2`` = log file, ``3`` = protobuf and log file.
 
 show-yaml [*FILE*]
-    Show Yaml representation of odl-style config.
+    Show Yaml representation of old-style config.
 
 top-queries
     Shows the top-20 queries. Statistics are over the last
index a586164155b2aa128f15042c84f6cfd50a335fef..6ed70fefd99fc6bce2615e81c4d216d2de6b3817 100644 (file)
@@ -115,7 +115,7 @@ Logging details of queries and answers
 --------------------------------------
 
 In some cases a tracing provides too much information, and we want to follow what the recursor is doing on a higher level.
-By setting :ref:`setting-yaml-logging.quiet` to ``true`` the recursor will produce a log line for each client query received and answered.
+By setting :ref:`setting-quiet` to ``true`` the recursor will produce a log line for each client query received and answered.
 Be aware that this causes overhead and should not be used in a high query-per-second production environment::
 
     Jul 09 09:08:31 msg="Question" subsystem="syncres" level="0" prio="Info" tid="4" ts="1720508911.919" ecs="" mtid="1" proto="udp" qname="www.example.com" qtype="A" remote="127.0.0.1:54573"