twoerner / bind-dyndb-ldap

Forked from bind-dyndb-ldap 4 years ago
Clone

129e54d Fix race condition during zone loading.

Authored and Committed by pspacek 9 years ago
    Fix race condition during zone loading.
    
    DNS zone has to be added to DNS view before dns_zone_load() is called.
    It is necessary to prevent dns_zone_load() from racing with dns_zone_setview().
    
    This race condition sometimes prevents zone from being signed.
    Now the unsigned zone is visible until signing process is complete. This
    mimics BIND behavior for in-line signed zones.
    
    https://fedorahosted.org/bind-dyndb-ldap/ticket/56
    
    Signed-off-by: Petr Spacek <pspacek@redhat.com>
    
        
file modified
+53 -44
file modified
+1 -1