Excited to share we open sourced a new Swift library for performing asynchronous DNS queries. The repository is available on GitHub - apple/swift-async-dns-resolver.
The library uses the
dnssd framework on Darwin and the c-ares library on non-Darwin platforms and provides Swift-friendly APIs and data structures for resolving DNS entries. It has been used as the backbone of a DNS-based service discovery implementation and we are convinced the Swift community will put it to good use.
We look forward to your feedback and contributions.