[Freeipa-devel] [PATCH] 0025-0028 Implement SOA serial number increments for external changes

Petr Spacek pspacek at redhat.com
Tue Jul 10 13:57:24 UTC 2012


Hello,

these patches provides SOA serial auto-increment feature for external changes.
Related ticket: https://fedorahosted.org/bind-dyndb-ldap/ticket/67

It is necessary to set "psearch" AND "serial_autoincrement" to "yes" in 
/etc/named.conf to enable this feature.

In replicated environment idnsSOAserial attribute has to be declared as 
non-replicated. It is done by mkosek's patch 281 for 389 DS & FreeIPA.

For testing purposes it is enough to add "idnsSOAserial" to end of exclude 
list in nsDS5ReplicatedAttributeList attribute for each replication agreement 
located in cn=mapping tree,cn=config subtree.


My patch 28 contains "trick" necessary for replicated environments with 389 
DS. 389 sends entry change notification (ECN) in cases when non-replicated 
attribute idnsSOAserial was changed on *other side*. In that case no change is 
visible in DNS attributes, but ECN is sent by 389. (Attribute modifyTimestamp 
is changed also.)

Patch 28 computes digest/hash from all resource records in idnsZone object and 
compares old and new digest after each received ECN. This approach eliminates 
"false changes".

Each patch depends on all preceding patches, but each patch implements visible 
(and testable) part of functionality.

Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0025-Increment-SOA-serial-for-each-ordinary-record-receiv.patch
Type: text/x-patch
Size: 5825 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120710/74de764b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0026-Do-not-bump-serial-for-each-record-during-initial-da.patch
Type: text/x-patch
Size: 2885 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120710/74de764b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0027-Maintain-SOA-serial-for-zone-record-changes-also.-Bu.patch
Type: text/x-patch
Size: 8655 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120710/74de764b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0028-Add-support-for-replicated-environments-to-SOA-seria.patch
Type: text/x-patch
Size: 14918 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120710/74de764b/attachment-0003.bin>


More information about the Freeipa-devel mailing list