git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8746faf
)
s4-dns: dlz_bind9: Ignore zones that are not used by BIND9 DLZ plugin
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 2 Oct 2012 03:00:50 +0000
(13:00 +1000)
committer
Amitay Isaacs
<amitay@gmail.com>
Mon, 8 Oct 2012 23:36:32 +0000
(10:36 +1100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
source4/dns_server/dlz_bind9.c
patch
|
blob
|
history
diff --git
a/source4/dns_server/dlz_bind9.c
b/source4/dns_server/dlz_bind9.c
index c3c4172a1732857a6f1490f585ecc88147ef3d76..bea8361fa15446bb3eafd57b5b65d53678df46c6 100644
(file)
--- 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);