From: Otto Moerbeek Date: Thu, 3 Aug 2023 09:12:11 +0000 (+0200) Subject: Expand the note on max-recursion-depth X-Git-Tag: rec-5.0.0-alpha1~71^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=651f8995b30d0bba6a25ffce756a2c59bf7ba0b4;p=thirdparty%2Fpdns.git Expand the note on max-recursion-depth --- diff --git a/pdns/recursordist/docs/upgrade.rst b/pdns/recursordist/docs/upgrade.rst index 5f433dd308..8d3f19be7f 100644 --- a/pdns/recursordist/docs/upgrade.rst +++ b/pdns/recursordist/docs/upgrade.rst @@ -37,6 +37,8 @@ See :doc:`performance`, in particular the :ref:`worker_imbalance` section. - The :ref:`setting-reuseport` default has been changed to ``yes``. - The :ref:`setting-packetcache-ttl` default has been changed to 24 hours. - The :ref:`setting-max-recursion-depth` default has been changed to 16. Before it was, 40, but effectively the CNAME length chain limit (fixed at 16) took precedence. + If you increase :ref:`setting-max-recursion-depth`, you also have to increase :ref:`setting-stack-size`. + A starting point of 5k per recursion depth is suggested. Add some extra safety margin to avoid running out of stack. - The :ref:`setting-hint-file` setting gained a new special value to disable refreshing of root hints completely. See :ref:`handling-of-root-hints`. :program:`rec_control`