/** * Core Services API * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), compute instances, and block storage volumes. For more information, see the console documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. The required permissions are documented in the [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * DHCP option for specifying how DNS (hostname resolution) is handled in the subnets in the VCN. * For more information, see * [DNS in Your Virtual Cloud Network](https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). * */ export interface DhcpDnsOption extends model.DhcpOption { /** * If you set {@code serverType} to {@code CustomDnsServer}, specify the * IP address of at least one DNS server of your choice (three maximum). * */ "customDnsServers"?: Array; /** * * **VcnLocal:** Reserved for future use. *

* **VcnLocalPlusInternet:** Also referred to as \"Internet and VCN Resolver\". * Instances can resolve internet hostnames (no internet gateway is required), * and can resolve hostnames of instances in the VCN. This is the default * value in the default set of DHCP options in the VCN. For the Internet and * VCN Resolver to work across the VCN, there must also be a DNS label set for * the VCN, a DNS label set for each subnet, and a hostname for each instance. * The Internet and VCN Resolver also enables reverse DNS lookup, which lets * you determine the hostname corresponding to the private IP address. For more * information, see * [DNS in Your Virtual Cloud Network](https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). *

* **CustomDnsServer:** Instances use a DNS server of your choice (three * maximum). * */ "serverType": DhcpDnsOption.ServerType; "type": string; } export declare namespace DhcpDnsOption { enum ServerType { VcnLocal = "VcnLocal", VcnLocalPlusInternet = "VcnLocalPlusInternet", CustomDnsServer = "CustomDnsServer", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: DhcpDnsOption, isParentJsonObj?: boolean): object; const type = "DomainNameServer"; function getDeserializedJsonObj(obj: DhcpDnsOption, isParentJsonObj?: boolean): object; }