dnsserver: Add support for dns wildcards
[samba.git] / source4 / dns_server / dlz_bind9.c
index 7096f4749b2adc531c27b876d7b7ff01f0f696ec..6ef378c75a6b557933c94709092546c2ff20432f 100644 (file)
@@ -865,8 +865,8 @@ static isc_result_t dlz_lookup_types(struct dlz_bind9_data *state,
                        return ISC_R_NOMEMORY;
                }
 
-               werr = dns_common_lookup(state->samdb, tmp_ctx, dn,
-                                        &records, &num_records, NULL);
+               werr = dns_common_wildcard_lookup(state->samdb, tmp_ctx, dn,
+                                        &records, &num_records);
                if (W_ERROR_IS_OK(werr)) {
                        break;
                }