]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 11 Dec 2023 15:14:44 +0000 (16:14 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 11 Dec 2023 15:14:44 +0000 (16:14 +0100)
pdns/dnsdistdist/docs/upgrade_guide.rst

index 661370f6db1d7ce5e7f4044796cca6dc63503f6e..b48887bae61bcc23d66ddd1e3916be9202d704e9 100644 (file)
@@ -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
 --------------