Language

PrivateDnsMode Enum

Definition

public enum PrivateDnsMode
type PrivateDnsMode = 
Inheritance
PrivateDnsMode

Fields

Name Value Description
Unknown 0

Specifies that the Private DNS setting is in an unknown state.

Android reference for android.app.admin.DevicePolicyManager.PRIVATE_DNS_MODE_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Off 1

Specifies that Private DNS was turned off completely.

Android reference for android.app.admin.DevicePolicyManager.PRIVATE_DNS_MODE_OFF.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Opportunistic 2

Specifies that the device owner requested opportunistic DNS over TLS

Android reference for android.app.admin.DevicePolicyManager.PRIVATE_DNS_MODE_OPPORTUNISTIC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ProviderHostname 3

Specifies that the device owner configured a specific host to use for Private DNS.

Android reference for android.app.admin.DevicePolicyManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to