tuxis-ie / nsedit

DNS Editor working with PowerDNS's new API
GNU General Public License v2.0
198 stars 55 forks source link

PowerDNS 4.2 serial not supported #190

Open asyslinux opened 4 years ago

asyslinux commented 4 years ago

Hello, PowerDNS 4.2 does not support autoserial anymore.

Can fix this by php get serial, check serial if 0 and generate new serial or +1 and send serial to api? Because when I import new zone, I have a 0 serial and if change records(add/del), serial is not changed. I temporary use pdnsutil increase-serial example.com from command line.

Thank You.

sid3windr commented 4 years ago

You need to set SOA-EDIT-API meta data correctly, PowerDNS API will still manage your serial just fine. There is no issue for nsedit in this case.

ychromosome commented 3 years ago

@sid3windr can you please give an example how we should modify it?