Please update net-dns/pdns to version 4.0.4 to fix this security bug: https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2017-04.html
*** This bug has been marked as a duplicate of bug 638566 ***