Class

NEDNSSettings

The DNS resolver settings of a network tunnel.

Declaration

class NEDNSSettings : NSObject

Topics

Initializing DNS Settings

init(servers: [String])

Initialize the NEDNSSetting object.

Accessing DNS Properties

var servers: [String]

The DNS server IP addresses.

var searchDomains: [String]?

A list of domain strings used to fully qualify single-label host names.

var domainName: String?

The primary domain of the tunnel.

var matchDomains: [String]?

A list of domain strings used to determine which DNS queries will use the DNS resolver settings contained in this object.

var matchDomainsNoSearch: Bool

A Boolean that specifies if the domains in the matchDomains list should not be appended to the resolver’s list of search domains.

Relationships

Inherits From

See Also

Provider

class NEDNSProxyProvider

The principal class for a DNS proxy provider app extension.