]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Use the correct RPZ policy name when loading via XFR 10768/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Sep 2021 09:12:23 +0000 (11:12 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Sep 2021 09:16:55 +0000 (11:16 +0200)
commit3e86a970828dda814a140c9613311a8507c3c458
tree403f4ef81eeab00c2d353e56ca62361e72df8570
parente103132796bf9599b2a883b2b76f49d2313c4295
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
pdns/rpzloader.cc