kCFDNSServiceFailureKey
Declaration
let kCFDNSServiceFailureKey: CFStringDiscussion
If an error of type kCFNetServicesErrorDNSServiceFailure is returned, querying this key returns the last error returned by the DNS resolver libraries in response to the previous operation. To interpret the results, look up the error codes in /usr/include/dns_sd.h or DNS Service Discovery C.