From d70f3644a485ef53e6173ef81326ba6f065f418a Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 2 Oct 2012 13:00:50 +1000 Subject: s4-dns: dlz_bind9: Ignore zones that are not used by BIND9 DLZ plugin Signed-off-by: Amitay Isaacs --- source4/dns_server/dlz_bind9.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/dns_server') diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index c3c4172a17..bea8361fa1 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -1146,6 +1146,11 @@ _PUBLIC_ isc_result_t dlz_configure(dns_view_t *view, void *dbdata) if (zone == NULL) { continue; } + /* Ignore zones that are not handled in BIND */ + if ((strcmp(zone, "RootDNSServers") == 0) || + (strcmp(zone, "..TrustAnchors") == 0)) { + continue; + } zone_dn = ldb_dn_copy(tmp_ctx, dn); if (zone_dn == NULL) { talloc_free(tmp_ctx); -- cgit