net-dns/pdns-2.9.21.2 zone2ldap tool fails to parse BIND zone. Reproducible: Always Steps to Reproduce: 1. emerge pdns 2. create testzone.com.db with content: $TTL 1D @ IN SOA ns hostmaster.test.com. ( 2008072701 86400 7200 360001 3600 ) NS ns NS ns2 MX 10 mail.test.com. TXT "v=spf1 a mx ~all" ns2 A 1.2.3.4 testzone.com. A 1.2.3.4 * A 1.2.3.4 3. zone2ldap --zone-file=testzone.com.db --zone-name=testzone.com --basedn=ou=dns,dc=test --dnsttl=yes --layout=tree Actual Results: Died because of STL error: Parsing zone content line: 'SOA' doesn't look like a qtype, stopping loop Expected Results: LDIF file of the zone zone2ldap tool should be reverted to working version.
I've fixed it with a patch from upstream, please re-emerge.