DNSSettings.OnDemandRulesElement
A list of domain strings that determine which DNS queries use the DNS server.
Declaration
object DNSSettings.OnDemandRulesElementProperties
| Name | Type | Description |
|---|---|---|
Action Required | string | The action to take if this dictionary matches the current network. Allowed values:
|
ActionParameters | [DNSSettings.OnDemandRulesElement.ActionParameter] | 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. |