[Pdns-users] Increment SOA programmatically?

Daniel Miller dmiller at amfes.com
Tue Nov 6 08:39:09 UTC 2018

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).

More information about the Pdns-users mailing list