<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NWParameters/PrivacyContext/ResolverConfiguration/https(_:serverAddresses:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network12NWParametersC14PrivacyContextC21ResolverConfigurationO5httpsyAG10Foundation3URLV_SayAA10NWEndpointOGtcAGmF"
  },
  "title" : "NWParameters.PrivacyContext.ResolverConfiguration.https(_:serverAddresses:)"
}
-->

# NWParameters.PrivacyContext.ResolverConfiguration.https(_:serverAddresses:)

A DNS-over-HTTPS resolver configuration.

```
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](https://tools.ietf.org/html/rfc8484) for more details. The associated server addresses you provide are hints for which well-known DNS server addresses to use.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)