DNSSettings
The payload that configures encrypted DNS settings.
Declaration
object DNSSettingsProperties
| Name | Type | Description |
|---|---|---|
DNSSettings Required | DNSSettings.DNSSettings | A dictionary that defines a configuration for an encrypted DNS server. |
OnDemandRules | [DNSSettings.OnDemandRulesElement] | 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 |
ProhibitDisablement | boolean | If |
Discussion
Specify com.apple.dnsSettings.managed as the payload type.
When installed from an MDM, the setting only applies to managed Wi-Fi networks.
When installed manually, this setting also applies to cellular networks.
Profile availability
Device channel | iOS, macOS, Shared iPad, visionOS |
User channel | NA |
Allow manual install | iOS, macOS, visionOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | NA |
Allow multiple payloads | iOS, macOS, Shared iPad, visionOS |