NWParameters.PrivacyContext.ResolverConfiguration.https(_:serverAddresses:)
A DNS-over-HTTPS resolver configuration.
Declaration
case https(URL, serverAddresses: [NWEndpoint])Discussion
The URL describes the location of the DNS server, such as “https://dnsserver.example.net/dns-query”. See RFC 8484 for more details. The associated server addresses you provide are hints for which well-known DNS server addresses to use.