Closed gmilos closed 1 month ago
What version are you using @gmilos? I think this was fixed in 0.3.0
We are on 0.3.1, the problem is still present there. Looking a bit deeper.
Looks like you resolved it here: https://github.com/apple/swift-async-dns-resolver/pull/27, but it's not tagged. Can you generate one for us?
I'm using the library to query
A
records for a domain where that validly times out. I'm running on macOS, therefore the the call is handled throughDNSSDDNSResolver.queryA
.I get the following error:
This maps to: https://developer.apple.com/documentation/dnssd/1823426-anonymous/kdnsserviceerr_timeout, this should be translated to
AsyncDNSResolver.Error.timeout
.More generally, the different error types DNSSD provides should be mapped too: https://developer.apple.com/documentation/dnssd/1823426-anonymous
This is already being done for Ares.