The DNS resolver settings of a network tunnel.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
Framework
- Network
Extension
Declaration
@interface NEDNSSettings : NSObject
The DNS resolver settings of a network tunnel.
SDKs
Framework
@interface NEDNSSettings : NSObject
- init With Servers:
Initialize the NEDNSSetting
object.
servers
The DNS server IP addresses.
search Domains
A list of domain strings used to fully qualify single-label host names.
domain Name
The primary domain of the tunnel.
match Domains
A list of domain strings used to determine which DNS queries will use the DNS resolver settings contained in this object.
match Domains No Search
A Boolean that specifies if the domains in the match
list should not be appended to the resolver’s list of search domains.
NEDNSProxy Provider
The principal class for a DNS proxy provider app extension.