Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PrivateDnsSettings

import type { PrivateDnsSettings } from "https://googleapis.deno.dev/v1/androidmanagement:v1.ts";

Controls the device's private DNS settings.

interface PrivateDnsSettings {
privateDnsHost?: string;
privateDnsMode?:
| "PRIVATE_DNS_MODE_UNSPECIFIED"
| "PRIVATE_DNS_USER_CHOICE"
| "PRIVATE_DNS_AUTOMATIC"
| "PRIVATE_DNS_SPECIFIED_HOST";
}

§Properties

§
privateDnsHost?: string
[src]

Optional. The hostname of the DNS server. This must be set if and only if private_dns_mode is set to PRIVATE_DNS_SPECIFIED_HOST. Supported on Android 10 and above on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with PENDING is reported if the device is not connected to a network. A NonComplianceDetail with nonComplianceReason INVALID_VALUE and specificNonComplianceReason PRIVATE_DNS_HOST_NOT_SERVING is reported if the specified host is not a DNS server or not supported on Android. A NonComplianceDetail with INVALID_VALUE is reported if applying this setting fails for any other reason.

§
privateDnsMode?: "PRIVATE_DNS_MODE_UNSPECIFIED" | "PRIVATE_DNS_USER_CHOICE" | "PRIVATE_DNS_AUTOMATIC" | "PRIVATE_DNS_SPECIFIED_HOST"
[src]

Optional. The configuration mode for device's global private DNS settings. If this is set to PRIVATE_DNS_SPECIFIED_HOST, then private_dns_host must be set.