[Freeipa-devel] [PATCH 0111] Automatically reload invalid zone after each change in zone data

Petr Spacek pspacek at redhat.com
Tue Feb 12 11:57:44 UTC 2013


Hello,

     Automatically reload invalid zone after each change in zone data.

     https://fedorahosted.org/bind-dyndb-ldap/ticket/102


How to test:

# create a invalid zone, e.g. zone without A records for names in NS records

ipa dnszone-add zone.test --admin-email=blah.nonsense 
--name-server=ns.zone.test. --force

# now dig ns.zone.test. should return SERVFAIL because zone doesn't have 
proper NS+A/AAAA records

dig ns.zone.test.

# addition of arbitrary record should not crash the server

ipa dnsrecord-add zone.test ns --txt-rec=blah

# after this modification some error message should appear in log and dig 
ns.zone.test. should still return SERVFAIL

dig ns.zone.test.

# addition of valid A record should fix the problem

ipa dnsrecord-add zone.test ns --a-rec=127.0.0.1

# now dig -t ANY ns.zone.test. should return NOERROR and zone should work
# TXT and also A record should be visible

dig -t ANY ns.zone.test.

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0111-Automatically-reload-invalid-zone-after-each-change-.patch
Type: text/x-patch
Size: 3553 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130212/ee259878/attachment.bin>


More information about the Freeipa-devel mailing list