Contents

Can I manage Private DNS settings through AMAPI?

Docs

General
Provisioning
Work profile
Fully managed
App management
FAQ

Change log

Share this page

Can I manage Private DNS settings through AMAPI?

Yes. From February 2026, the Android Management API supports configuring Private DNS on company-owned devices running Android 10 and above.

The new privateDnsSettings policy field supports three modes:

  • User choice - the end user can configure Private DNS in device settings (default behaviour)
  • Automatic - the device uses the network's DNS-over-TLS server automatically when available
  • Specified host - the administrator defines a specific Private DNS hostname, such as a corporate DNS resolver

This is available for fully managed devices and work profiles on company-owned devices. It does not apply to personally-owned work profile deployments.

Before this addition, administrators had no standardised way to enforce Private DNS configuration through AMAPI, and often relied on OEM-specific OEMConfig policies or VPN-based DNS solutions. This brings Private DNS management in line with what custom DPCs could already achieve through the platform DevicePolicyManager APIs.

mail Reply by email | edit_note Edit this page | code_blocks Code

Docs

General
Provisioning
Work profile
Fully managed
App management
FAQ