<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network12NWParametersC14PrivacyContextC21ResolverConfigurationO"
  },
  "title" : "NWParameters.PrivacyContext.ResolverConfiguration"
}
-->

# NWParameters.PrivacyContext.ResolverConfiguration

A DNS server configuration that uses TLS or HTTPS.

```
enum ResolverConfiguration
```

## Topics

### Resolver Types

[`case https(URL, serverAddresses: [NWEndpoint])`](/documentation/Network/NWParameters/PrivacyContext/ResolverConfiguration/https(_:serverAddresses:))

A DNS-over-HTTPS resolver configuration.

[`case tls(NWEndpoint, serverAddresses: [NWEndpoint])`](/documentation/Network/NWParameters/PrivacyContext/ResolverConfiguration/tls(_:serverAddresses:))

A DNS-over-TLS resolver configuration.

### Inspecting Resolvers

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)