public static enum DhcpDnsOption.ServerType extends Enum<DhcpDnsOption.ServerType> implements BmcEnum
**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.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
**CustomDnsServer:** Instances use a DNS server of your choice (three maximum).
Enum Constant and Description |
---|
CustomDnsServer |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
VcnLocal |
VcnLocalPlusInternet |
Modifier and Type | Method and Description |
---|---|
static DhcpDnsOption.ServerType |
create(String key) |
String |
getValue() |
static DhcpDnsOption.ServerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DhcpDnsOption.ServerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DhcpDnsOption.ServerType VcnLocal
public static final DhcpDnsOption.ServerType VcnLocalPlusInternet
public static final DhcpDnsOption.ServerType CustomDnsServer
public static final DhcpDnsOption.ServerType UnknownEnumValue
public static DhcpDnsOption.ServerType[] values()
for (DhcpDnsOption.ServerType c : DhcpDnsOption.ServerType.values()) System.out.println(c);
public static DhcpDnsOption.ServerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DhcpDnsOption.ServerType create(String key)
Copyright © 2016–2023. All rights reserved.