NetworkDNSSettingsOnDemandRulesElementObject
An array of rules that define the DNS settings. If not set, the system always applies the DNS settings. These rules are identical to the OnDemandRules array in VPN payloads.
Declaration
object NetworkDNSSettingsOnDemandRulesElementObjectProperties
| Name | Type | Description |
|---|---|---|
Action Required | string | The action to take if this dictionary matches the current network. Allowed values:
|
ActionParameters | [NetworkDNSSettingsOnDemandRulesElement_ActionParameterObject] | An array of dictionaries that provide per-connection rules. The system uses this array only for settings where the |
DNSDomainMatch | [string] | An array of domain names. This rule matches if any of the domain names in the specified list matches any domain in the device’s search domains list. The system supports a single wildcard ( |
DNSServerAddressMatch | [string] | An array of IP addresses. This rule matches if any of the network’s specified DNS servers match any entry in the array. The system supports matching with a single wildcard. For example, |
InterfaceTypeMatch | string | An interface type. If specified, this rule matches only if the primary network interface hardware matches the specified type. |
SSIDMatch | [string] | An array of SSIDs to match against the current network. If the network isn’t a Wi-Fi network or if the SSID doesn’t appear in this array, the match fails. Omit this key and the corresponding array to match against any SSID. |
URLStringProbe | string | A URL to probe. This rule matches if this URL is successfully fetched and returns a 200 HTTP status code without redirection. |