diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dns_server/dlz_bind9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index 689ed45bb0..ac41dd02aa 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -825,7 +825,7 @@ static isc_result_t dlz_lookup_types(struct dlz_bind9_data *state, break; } } - if (ret != LDB_SUCCESS) { + if (ret != LDB_SUCCESS || res->count == 0) { talloc_free(tmp_ctx); return ISC_R_NOTFOUND; } |