From: Remi Gacogne Date: Mon, 11 Dec 2023 15:14:44 +0000 (+0100) Subject: dnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide X-Git-Tag: auth-4.9.0-alpha1~47^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbf28c34e87cef25eb57f84c432bdaa7fc238f82;p=thirdparty%2Fpdns.git dnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide --- diff --git a/pdns/dnsdistdist/docs/upgrade_guide.rst b/pdns/dnsdistdist/docs/upgrade_guide.rst index 661370f6db..b48887bae6 100644 --- a/pdns/dnsdistdist/docs/upgrade_guide.rst +++ b/pdns/dnsdistdist/docs/upgrade_guide.rst @@ -13,6 +13,15 @@ support HTTP/2, but might be one in setups running dnsdist behind a reverse-prox SNMP support is no longer enabled by default during ``configure``, requiring ``--with-net-snmp`` to be built. +The use of :func:`makeRule` is now deprecated, please use :func:`NetmaskGroupRule` or :func:`QNameSuffixRule` instead. +Passing a string or list of strings instead of a :class:`DNSRule` to these functions is deprecated as well, :func:`NetmaskGroupRule` and :func:`QNameSuffixRule` should there again be used instead: + +* :func:`addAction` +* :func:`addResponseAction` +* :func:`addCacheHitResponseAction` +* :func:`addCacheInsertedResponseAction` +* :func:`addSelfAnsweredResponseAction` + 1.7.x to 1.8.0 --------------