Skip to content

Commit

Permalink
rec: minor doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
omoerbeek committed Dec 9, 2024
1 parent 86e6672 commit ad3050e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions pdns/recursordist/docs/lua-scripting/dnsname.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/docs/manpages/rec_control.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/docs/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ad3050e

Please sign in to comment.