diff options
Diffstat (limited to 'source4/dns_server')
-rw-r--r-- | source4/dns_server/dns_update.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c index d6b764087e..3473a70f55 100644 --- a/source4/dns_server/dns_update.c +++ b/source4/dns_server/dns_update.c @@ -331,6 +331,10 @@ static WERROR dns_rr_to_dnsp(TALLOC_CTX *mem_ctx, rrec->rdata.srv_record.target); W_ERROR_HAVE_NO_MEMORY(r->data.srv.nameTarget); break; + case DNS_QTYPE_PTR: + r->data.ptr = talloc_strdup(mem_ctx, rrec->rdata.ptr_record); + W_ERROR_HAVE_NO_MEMORY(r->data.ptr); + break; case DNS_QTYPE_MX: r->data.mx.wPriority = rrec->rdata.mx_record.preference; r->data.mx.nameTarget = talloc_strdup(mem_ctx, |