public enum DNSRecordType extends Enum<DNSRecordType>
Enum Constant and Description |
---|
A
a host address
|
CNAME
the canonical name for an alias
|
HINFO
host information
|
MB
a mailbox domain name (EXPERIMENTAL)
|
MD
a mail destination (Obsolete - use MX)
|
MF
a mail forwarder (Obsolete - use MX)
|
MG
a mail group member (EXPERIMENTAL)
|
MINFO
mailbox or mail list information
|
MR
a mail rename domain name (EXPERIMENTAL)
|
MX
mail exchange
|
NS
an authoritative name server
|
NULL
a null RR (EXPERIMENTAL)
|
PTR
a domain name pointer
|
SOA
marks the start of a zone of authority
|
TXT
text strings
|
WKS
a well known service description
|
Modifier and Type | Method and Description |
---|---|
static DNSRecordType |
forValue(String value) |
String |
value() |
static DNSRecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DNSRecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DNSRecordType A
public static final DNSRecordType NS
public static final DNSRecordType MD
public static final DNSRecordType MF
public static final DNSRecordType CNAME
public static final DNSRecordType SOA
public static final DNSRecordType MB
public static final DNSRecordType MG
public static final DNSRecordType MR
public static final DNSRecordType NULL
public static final DNSRecordType WKS
public static final DNSRecordType PTR
public static final DNSRecordType HINFO
public static final DNSRecordType MINFO
public static final DNSRecordType MX
public static final DNSRecordType TXT
public static DNSRecordType[] values()
for (DNSRecordType c : DNSRecordType.values()) System.out.println(c);
public static DNSRecordType 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 String value()
public static DNSRecordType forValue(String value)
Copyright © 2017. All rights reserved.