Instance Property

dnsServerAddressMatch

DNS server addresses that identify a network

Declaration

var dnsServerAddressMatch: [String]? { get set }

Discussion

An array of DNS server IP addresses represented as NSString objects. If each of the current default DNS servers is equal to one of the strings in this array and all of the other conditions in the rule match, then the rule matches. If this property is nil (the default), then the default DNS servers do not factor into the rule match.

See Also

Accessing Match Parameters

var dnsSearchDomainMatch: [String]?

DNS search domains that identify a network

var interfaceTypeMatch: NEOnDemandRuleInterfaceType

An interface type to identify a network

var ssidMatch: [String]?

SSIDs that identify a network

var probeURL: URL?

A URL to probe when all other network identifiers match to validate that an expected resource is available

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software