[Pdns-users] default-api-rectify not working

Peter van Dijk peter.van.dijk at powerdns.com
Mon Jun 1 00:30:13 UTC 2020


Hello Sean,

On Thu, 2020-05-28 at 19:00 +0000, Sean Lair via Pdns-users wrote:
> Hi all - just wanted to follow up.  Is there any additional information I can provide?
> 
> Since PowerDNS Admin is configured to use the PowerDNS API, the zones should be auto-rectifying.  We are running PDNS 4.2.0 where default-api-rectify=yes and I have verified that is not being overridden by any domain metadata entries.  Please see the output at the end of this email.
> 
> What am I missing on this?
> 
> MariaDB [powerdns]> select * from domains where domains.name = 'xxxxxxxxxx.com';
> +----+----------------+--------+------------+--------+-----------------+---------+
> > id | name           | master | last_check | type   | notified_serial | account |
> +----+----------------+--------+------------+--------+-----------------+---------+
> > 47 | xxxxxxxxxx.com | NULL   |       NULL | NATIVE |            NULL | ippcorp |
> +----+----------------+--------+------------+--------+-----------------+---------+
> 1 row in set (0.00 sec)
> 
> MariaDB [powerdns]> select * from domainmetadata where id=47;
> Empty set (0.00 sec)

First, please read 
https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/

Second, the currently supported version in the 4.2.x train is 4.2.2. We
will generally not investigate bugs in an older version for the same
train. So, normally we'd ask you to first try an upgrade to 4.2.2 or
4.3.0.

However, in this case I found you are running into a known bug (
https://github.com/PowerDNS/pdns/pull/8497). The fix is in 4.3.0 and
up, and 4.2.1 and up. For some reason it did not make it into 
https://doc.powerdns.com/authoritative/changelog/4.2.html, we will fix
that document.

Kind regards,
-- 
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/



More information about the Pdns-users mailing list