summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-10-02 13:00:50 +1000
committerAmitay Isaacs <amitay@gmail.com>2012-10-09 10:36:32 +1100
commitd70f3644a485ef53e6173ef81326ba6f065f418a (patch)
treedf15adf460f6366d0b5540a03960a7a13491b1aa /source4/dns_server
parent8746faf846fb4f4552e648f4e4e05510b8bd1ef4 (diff)
downloadsamba-d70f3644a485ef53e6173ef81326ba6f065f418a.tar.gz
samba-d70f3644a485ef53e6173ef81326ba6f065f418a.tar.bz2
samba-d70f3644a485ef53e6173ef81326ba6f065f418a.zip
s4-dns: dlz_bind9: Ignore zones that are not used by BIND9 DLZ plugin
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/dlz_bind9.c5
1 files changed, 5 insertions, 0 deletions
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);