apple / swift-async-dns-resolver

A Swift library for asynchronous DNS requests, wrapping c-ares with Swift-friendly APIs and data structures.
Apache License 2.0
82 stars 12 forks source link

Supports custom DNS server addresses #40

Open xieliuhao opened 1 month ago

xieliuhao commented 1 month ago

For example, when making a query, it supports specifying DNS server addresses such as 8.8.8.8 and 114.114.114.114. This is because, in some networks, the default DNS server may not be able to retrieve the records.