[Pdns-users] Increment SOA programmatically?

MRob mrobti at insiberia.net
Tue Nov 6 16:11:00 UTC 2018


On 2018-11-06 08:39, Daniel Miller via Pdns-users wrote:
> On 11/5/2018 9:15 AM, MRob wrote:
>> 
>>>> still, it didn't work with auto-serial configuration:
>>>> 
>>>> > pdnsutil increase-serial example.org
>>>> Error: Parsing record content (try 'pdnsutil check-zone'): missing 
>>>> field at
>>>> the end of record content 'ns.example.org contact at example.org 0'
>>> 
>>> could you paste the content of the SOA record for this zone?
>> 
>> Same as showed above-
>> ns.example.org contact at example.org 0
> 
> That looks like the problem - SOA records are supposed to have more 
> info.  Try:
> 
> ns.example.org  contact at example.org  2018110601 86400 7200 604800 300
> 
> Instead of a simple 0 - suggest using a datestamp and starting with
> today's config.  But the other parameters aren't optional (though you
> should adjust for your needs).

No, it's autoserial feature
https://doc.powerdns.com/authoritative/backends/generic-sql.html#autoserial
SOA records are served normal


More information about the Pdns-users mailing list