Powerdns Soa Serial Number
This document is about PowerDNS 4.X. If you have PowerDNS 3.X, please see the PowerDNS 3.X documentation
Starting with the PowerDNS Authoritative Server 3.0, each served zone can have
metadata. Such metadata determines how this zone behaves in certain circumstances.
Warning: Domain metadata is only available for DNSSEC capable backends. Make
sure to enable the proper -dnssec setting to benefit, and to have performed
Starting with the PowerDNS Authoritative Server 3.1, per-zone AXFR ACLs can be
stored in the domainmetadata table.
Each ACL row can list one subnet v4 or v6, or the magical value AUTO-NS that
tries to allow all potential slaves in.
sql select id from domains where name example.com ;
sql insert into domainmetadata domain_id, kind, content values 7, ALLOW-AXFR-FROM, AUTO-NS ;
sql insert into domainmetadata domain_id, kind, content values 7, ALLOW-AXFR-FROM, 2001:db8::/48 ;
The IP address to use as a source address for sending AXFR requests.
See the documentation on Dynamic DNS update
When notifying this domain, also notify this nameserver can occur multiple times.
Use this named TSIG key to retrieve this zone from its master see
Provisioning signed notification and AXFR requests.
Allow this GSS principal to perform AXFR retrieval. Most commonly it is
host/something REALM, DNS/something REALM or user REALM. See
Use this principal for accepting GSS context. See GSS-TSIG support.
Script to be used to edit incoming AXFRs, see Modifying a slave zone using a script.
Set to 1 to tell PowerDNS this zone operates in NSEC3 narrow mode. See
NSEC3 parameters of a DNSSEC zone. Will be used to synthesize the NSEC3PARAM
record. If present, NSEC3 is used, if not present, zones default to NSEC. See
set-nsec3 in pdnsutil. Example content: 1 0 1 ab.
This zone carries DNSSEC RRSIGs signatures, and is presigned. PowerDNS sets
this flag automatically upon incoming zone transfers AXFR if it detects DNSSEC
records in the zone. However, if you import a presigned zone using zone2sql or
pdnsutil load-zone you must explicitly set the zone to be PRESIGNED. Note that
PowerDNS will not be able to correctly serve the zone if the imported data is
bogus or incomplete. Also see set-presigned in pdnsutil.
Whether to publish CDNSKEY and/or CDS recording defined in RFC 7344.
To publish CDNSKEY records of the KSKs for the zone, set PUBLISH_CDNSKEY to 1.
To publish CDS records for the KSKs in the zone, set PUBLISH_CDS to a comma-
separated list of signature algorithm numbers.
This metadata can also be set using the pdnsutil options
set-publish-cdnskey and set-publish-cds. For an example for an RFC 7344
key rollover, see the CDS and CDNSKEY howto.
When serving this zone, modify the SOA serial number in one of several ways.
Mostly useful to get slaves to re-transfer a zone regularly to get fresh RRSIGs.
Inception refers to the time the RRSIGs got updated in
This happens every week see Signatures. The inception
time does not depend on local timezone, but some modes below will use localtime
INCREMENT-WEEKS: Increments the serial with the number of weeks since the epoch. This should work in every setup; but the result won t look like YYYYMMDDSS anymore.
INCEPTION-EPOCH available since 3.1 : Sets the new SOA serial number to the maximum of the old SOA serial number, and age in seconds of the last inception. This requires your backend zone to use age in seconds as SOA serial. The result is still the age in seconds of the last change.
INCEPTION-INCREMENT available since 3.3 : Uses YYYYMMDDSS format for SOA serial numbers. If the SOA serial from the backend is within two days after inception, it gets incremented by two the backend should keep SS below 98. Otherwise it uses the maximum of the backend SOA serial number and inception time in YYYYMMDD01 format. This requires your backend zone to use YYYYMMDDSS as SOA serial format. Uses localtime to find the day for inception time.
INCEPTION not recommended : Sets the SOA serial to the last inception time in YYYYMMDD01 format. Uses localtime to find the day for inception time. Warning: The SOA serial will only change on inception day, so changes to the zone will get visible on slaves only on the following inception day.
INCEPTION-WEEK not recommended : Sets the SOA serial to the number of weeks since the epoch, which is the last inception time in weeks. Warning: Same problem as INCEPTION
EPOCH: Sets the SOA serial to the number of seconds since the epoch. Warning: Don t combine this with AXFR - the slaves would keep refreshing all the time. If you need fast updates, sync the backend databases directly with incremental updates or use the same database server on the slaves
NONE: Ignore default-soa-edit and/or default-soa-edit-signed setings.
Allow these named TSIG keys to AXFR this zone see Provisioning outbound AXFR access.
This setting allows you to set the TSIG key required to do an DNS update. If
GSS-TSIG is enabled, you can put kerberos principals here as well.
Warning: Host names and the MNAME of a SOA records are NEVER Further more, it contains a serial number which should rise on each change of the.
Starting with the PowerDNS Authoritative Server 3.1, per-zone AXFR ACLs can When serving this zone, modify the SOA serial number in one of several ways.
Mar 1, 2011 - Pdns-users Manually Changing SOA Serial Number. Elfyn McBratney elfyn at nyfle.co.uk. Fri Feb 25 :52 CET 2011. Previous message: Pdns-users SOA Serial Number format - PowerDNS13 Mar 2013SOA serial number editing on re-signing of a zone 28 Mar 2011PowerDNS authoritative: AXFR ignored when SOA serial wraps17 Mar 2011Getting started with pdns - PowerDNS18 Jan 2007More results from mailman.powerdns.comSupported DNS Record Types - PowerDNShttps://doc.powerdns.com/md/types/CachedSimilarPowerDNS.
Mar 15, 2010 - The SOA serial number needs to be bumped up, meaning it needs to be now then in order for PowerDNS to notify it s slaves about changes.
Oct 14, 2014 - So I tried to manually update the serial number in SOA records and then See SOA-EDIT.
Feb 24, 2011 - Hi everyone. I m new to the lists and I have a few questions. How do you manually change the following things in PowerDNS. 1. SOA serial.
Jan 18, 2013 - The SOA-EDIT parameter is set on a per/domain basis. It tells PowerDNS how it should modify the SOA serial number when it is queried for an.
Per zone settings aka Domain Metadata