From dbf28c34e87cef25eb57f84c432bdaa7fc238f82 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 11 Dec 2023 16:14:44 +0100 Subject: [PATCH] dnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide --- pdns/dnsdistdist/docs/upgrade_guide.rst | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -------------- -- 2.47.2