summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dns_server/dlz_bind9.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c
index 5249ca3d7c..2631272e0d 100644
--- a/source4/dns_server/dlz_bind9.c
+++ b/source4/dns_server/dlz_bind9.c
@@ -180,9 +180,7 @@ static isc_result_t b9_putrr(struct dlz_bind9_data *state,
}
}
- /* FIXME: why does dlz insist on all TTL values being the same
- for the same name? */
- result = state->putrr(handle, type, /* rec->dwTtlSeconds */ 900, data);
+ result = state->putrr(handle, type, rec->dwTtlSeconds, data);
if (result != ISC_R_SUCCESS) {
state->log(ISC_LOG_ERROR, "Failed to put rr");
}
@@ -211,9 +209,7 @@ static isc_result_t b9_putnamedrr(struct dlz_bind9_data *state,
return ISC_R_NOMEMORY;
}
- /* FIXME: why does dlz insist on all TTL values being the same
- for the same name? */
- result = state->putnamedrr(handle, name, type, /* rec->dwTtlSeconds */ 900, data);
+ result = state->putnamedrr(handle, name, type, rec->dwTtlSeconds, data);
if (result != ISC_R_SUCCESS) {
state->log(ISC_LOG_ERROR, "Failed to put named rr '%s'", name);
}