From d0fbd333ed7f13d3396569cad2b5691a76c70728 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 11 Jul 2023 11:01:07 -0400 Subject: [PATCH] Report auth settings deprecated in 4.5 --- docs/upgrading.rst | 2 +- pdns/arguments.cc | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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) -- 2.47.2