addns: Async ads_dns_lookup_srv
authorVolker Lendecke <vl@samba.org>
Wed, 3 Jan 2018 12:26:54 +0000 (13:26 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 15 Jan 2019 06:53:22 +0000 (07:53 +0100)
commit4b4ae005b2029d55ad95809a535d13eb5ff51174
tree54a5446953a13ba4f9d0e719c3436f2f63fe978f
parent9563fcf6ffae4a6d3595a1207513bbf0742203f4
addns: Async ads_dns_lookup_srv

Use dns_lookup_send/recv to get SRV records. This avoids synchronous libresolv
calls and provides the infrastructure to get dsgetdcname async.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/addns/dnsquery.c
lib/addns/dnsquery.h
lib/addns/wscript_build