Enum DhcpDnsOption.ServerType

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<DhcpDnsOption.ServerType>
    Enclosing class:
    DhcpDnsOption

    public static enum DhcpDnsOption.ServerType
    extends Enum<DhcpDnsOption.ServerType>
    implements BmcEnum
    • 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).

    • Method Detail

      • values

        public static DhcpDnsOption.ServerType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DhcpDnsOption.ServerType c : DhcpDnsOption.ServerType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DhcpDnsOption.ServerType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null