[Freeipa-devel] [PATCH 0283] Fix root zone handling

Petr Spacek pspacek at redhat.com
Fri Sep 5 15:40:36 UTC 2014


Hello,

Fix root zone handling.

syncrepl_update() was buggy in a way which could cause accidental zone removal.

Test case: A server with two zones: '.' and 'test.'

Zone '.':
.     NS ns1.test.
.     NS ns2.test.
test. NS ns1.test.
test. NS ns2.test.

Zone 'test.':
test.     NS ns1.test.
test.     NS ns2.test.
ns1.test. A  192.0.2.1
ns2.test. A  192.0.2.2

Removing whole name 'test.' from zone '.' will cause removal of zone 'test.'
instead of removing NS records from zone '.'.

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0283-Fix-root-zone-handling.patch
Type: text/x-patch
Size: 9936 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140905/33dcd704/attachment.bin>


More information about the Freeipa-devel mailing list