NWParameters.PrivacyContext.ResolverConfiguration.tls(_:serverAddresses:)
A DNS-over-TLS resolver configuration.
Declaration
case tls(NWEndpoint, serverAddresses: [NWEndpoint])Discussion
The hostname of the provided endpoint will be used to validate the TLS certificate of the server. See RFC 7858 for more details. The associated server addresses you provide are hints for which well-known DNS server addresses to use.