]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Use the correct RPZ policy name when loading via XFR 10803/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Sep 2021 09:12:23 +0000 (11:12 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 6 Oct 2021 06:59:55 +0000 (08:59 +0200)
commit34e4f22efbd8cdbdc446c1e252253cb37312f6be
treef84e3a987bd5201f23aefcf03c675dd842480b2f
parentea3bbda36c074f584c28724c57bbfb43ea6366bc
rec: Use the correct RPZ policy name when loading via XFR

This commit fixes two issues:
- if the existing zone name is not empty we should use it, instead of
  the zone domain
- if the zone domain has to be used, it should not include a final dot

(cherry picked from commit 3e86a970828dda814a140c9613311a8507c3c458)
pdns/rpzloader.cc