---
title: NetworkDNSSettingsOnDemandRulesElement_ActionParameterObject
framework: Device Management
role: symbol
role_heading: Object
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: devicemanagement/networkdnssettingsondemandruleselement_actionparameterobject
---

# NetworkDNSSettingsOnDemandRulesElement_ActionParameterObject

A dictionary that provides per-connection rules.

## Declaration

```data
object NetworkDNSSettingsOnDemandRulesElement_ActionParameterObject
```

## Properties

DomainAction: The DNS settings behavior for the specified domains. Allowed values: ‘NeverConnect’: Don’t use the DNS Settings for the specified domains. ‘ConnectIfNeeded’: Allow using the DNS Settings for the specified domains. Domains: The domains for which this evaluation applies.

## Discussion

Discussion The keys allowed in each dictionary are described below. Note: This array is only for dictionaries in which EvaluateConnection is the Action value.
