public enum RecordType extends Enum<RecordType> implements EnumConverter<Short>
Enum Constant and Description |
---|
A
Host address
|
A6
IPv6 address (experimental)
|
AAAA
IPv6 address
|
AFSDB
AFS cell database
|
ANY
Request for all records
|
APL
Address Prefix List
|
ATMA
ATM address
|
AXFR
Request for transfer of an entire zone
|
CERT
Certificate
|
CNAME
Canonical name for an alias
|
DNAME
Non-terminal name redirection
|
DNSKEY
DNSSEC Key
|
DS
Delegation Signer
|
EID
Endpoint identifier
|
GPOS
Geographical position (withdrawn)
|
HINFO
Host information
|
ISDN
ISDN calling address
|
IXFR
Incremental zone transfer
|
KEY
Key
|
KX
Key exchange
|
LOC
Location
|
MAILA
Request for mail agent resource records
|
MAILB
Request for mailbox-related records
|
MB
Mailbox domain name
|
MD
Mail destination
|
MF
Mail forwarder
|
MG
Mail group member
|
MINFO
Mailbox or mail list information
|
MR
Mail rename domain name
|
MX
Mail exchange
|
NAPTR
Naming authority pointer
|
NIMLOC
Nimrod locator
|
NS
Authoritative name server
|
NSAP
NSAP address
|
NSAP_PTR
Reverse NSAP address (deprecated)
|
NSEC
Next Secure Name
|
NULL
Null resource record
|
NXT
Next valid name in zone
|
OPT
Options - contains EDNS metadata
|
PTR
Domain name pointer
|
PX
X.400 mail mapping
|
RP
Responsible person
|
RRSIG
Resource Record Signature
|
RT
Router
|
SIG
Signature
|
SOA
Start of a zone of authority
|
SRV
Server selection
|
SSHFP
SSH Key Fingerprint
|
TKEY
Transaction key - used to compute a shared secret or exchange a key
|
TSIG
Transaction signature
|
TXT
Text strings
|
WKS
Well know service description
|
X25
X.25 calling address
|
Modifier and Type | Method and Description |
---|---|
Short |
convert()
Convert the enum to another type.
|
static RecordType |
convert(short value)
Converts an ordinal value into a
RecordType . |
static boolean |
isResourceRecord(RecordType resourceType)
Returns whether a given
RecordType is a ResourceRecord . |
static RecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordType A
public static final RecordType NS
public static final RecordType MD
public static final RecordType MF
public static final RecordType CNAME
public static final RecordType SOA
public static final RecordType MB
public static final RecordType MG
public static final RecordType MR
public static final RecordType NULL
public static final RecordType WKS
public static final RecordType PTR
public static final RecordType HINFO
public static final RecordType MINFO
public static final RecordType MX
public static final RecordType TXT
public static final RecordType RP
public static final RecordType AFSDB
public static final RecordType X25
public static final RecordType ISDN
public static final RecordType RT
public static final RecordType NSAP
public static final RecordType NSAP_PTR
public static final RecordType SIG
public static final RecordType KEY
public static final RecordType PX
public static final RecordType GPOS
public static final RecordType AAAA
public static final RecordType LOC
public static final RecordType NXT
public static final RecordType EID
public static final RecordType NIMLOC
public static final RecordType SRV
public static final RecordType ATMA
public static final RecordType NAPTR
public static final RecordType KX
public static final RecordType CERT
public static final RecordType A6
public static final RecordType DNAME
public static final RecordType OPT
public static final RecordType APL
public static final RecordType DS
public static final RecordType SSHFP
public static final RecordType RRSIG
public static final RecordType NSEC
public static final RecordType DNSKEY
public static final RecordType TKEY
public static final RecordType TSIG
public static final RecordType IXFR
public static final RecordType AXFR
public static final RecordType MAILB
public static final RecordType MAILA
public static final RecordType ANY
public static RecordType[] values()
for (RecordType c : RecordType.values()) System.out.println(c);
public static RecordType 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 Short convert()
EnumConverter
convert
in interface EnumConverter<Short>
public static RecordType convert(short value)
RecordType
.value
- RecordType
.public static boolean isResourceRecord(RecordType resourceType)
RecordType
is a ResourceRecord
.resourceType
- RecordType
is a ResourceRecord
.Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.