From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 11 Jul 2023 15:01:07 +0000 (-0400) Subject: Report auth settings deprecated in 4.5 X-Git-Tag: rec-5.0.0-alpha2~38^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0fbd333ed7f13d3396569cad2b5691a76c70728;p=thirdparty%2Fpdns.git Report auth settings deprecated in 4.5 --- diff --git a/docs/upgrading.rst b/docs/upgrading.rst index 5021c714dd..fc65427a01 100644 --- a/docs/upgrading.rst +++ b/docs/upgrading.rst @@ -97,7 +97,7 @@ Renamed options ~~~~~~~~~~~~~~~ Various settings have been renamed. -Their old names still work in 4.5.x, but will be removed in the release after it. +Their old names still work in 4.5.x, but will be removed in a release after it. * :ref:`setting-allow-unsigned-supermaster` is now :ref:`setting-allow-unsigned-autoprimary` * :ref:`setting-master` is now :ref:`setting-primary` diff --git a/pdns/arguments.cc b/pdns/arguments.cc index a1081ddd70..35c1eb001a 100644 --- a/pdns/arguments.cc +++ b/pdns/arguments.cc @@ -364,6 +364,13 @@ static const map deprecateList = { {"snmp-master-socket", "snmp-daemon-socket"}, {"xpf-allow-from", "Proxy Protocol"}, {"xpf-rr-code", "Proxy Protocol"}, + {"allow-unsigned-supermaster", "allow-unsigned-autoprimary"}, + {"master", "primary"}, + {"slave-cycle-interval", "xfr-cycle-interval"}, + {"slave-renotify", "secondary-do-renotify"}, + {"slave", "secondary"}, + {"superslave", "autosecondary"}, + {"domain-metadata-cache-ttl", "zone-metadata-cache-ttl"}, }; void ArgvMap::warnIfDeprecated(const string& var)