Package nl.sidnlabs.dnslib.types
Enum ResourceRecordType
- java.lang.Object
-
- java.lang.Enum<ResourceRecordType>
-
- nl.sidnlabs.dnslib.types.ResourceRecordType
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceRecordType>
public enum ResourceRecordType extends Enum<ResourceRecordType>
Resource Record (RR) TYPEs reference : http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4 A 1 a host address [RFC1035] NS 2 an authoritative name server [RFC1035] MD 3 a mail destination (OBSOLETE - use MX) [RFC1035] MF 4 a mail forwarder (OBSOLETE - use MX) [RFC1035] CNAME 5 the canonical name for an alias [RFC1035] SOA 6 marks the start of a zone of authority [RFC1035] MB 7 a mailbox domain name (EXPERIMENTAL) [RFC1035] MG 8 a mail group member (EXPERIMENTAL) [RFC1035] MR 9 a mail rename domain name (EXPERIMENTAL) [RFC1035] NULL 10 a null RR (EXPERIMENTAL) [RFC1035] WKS 11 a well known service description [RFC1035] PTR 12 a domain name pointer [RFC1035] HINFO 13 host information [RFC1035] MINFO 14 mailbox or mail list information [RFC1035] MX 15 mail exchange [RFC1035] TXT 16 text strings [RFC1035] RP 17 for Responsible Person [RFC1183] AFSDB 18 for AFS Data Base location [RFC1183][RFC5864] X25 19 for X.25 PSDN address [RFC1183] ISDN 20 for ISDN address [RFC1183] RT 21 for Route Through [RFC1183] NSAP 22 for NSAP address, NSAP style A record [RFC1706] NSAP-PTR 23 for domain name pointer, NSAP style [RFC1348][RFC1637][RFC1706] SIG 24 for security signature [RFC4034][RFC3755][RFC2535][RFC2536][RFC2537][RFC2931][RFC3110][RFC3008] KEY 25 for security key [RFC4034][RFC3755][RFC2535][RFC2536][RFC2537][RFC2539][RFC3008][RFC3110] PX 26 X.400 mail mapping information [RFC2163] GPOS 27 Geographical Position [RFC1712] AAAA 28 IP6 Address [RFC3596] LOC 29 Location Information [RFC1876] NXT 30 Next Domain (OBSOLETE) [RFC3755][RFC2535] EID 31 Endpoint Identifier [Michael_Patton][http://ana-3.lcs.mit.edu/~jnc/nimrod/dns.txt] 1995-06 NIMLOC 32 Nimrod Locator [1][Michael_Patton][http://ana-3.lcs.mit.edu/~jnc/nimrod/dns.txt] 1995-06 SRV 33 Server Selection [1][RFC2782] ATMA 34 ATM Address [ ATM Forum Technical Committee, "ATM Name System, V2.0", Doc ID: AF-DANS-0152.000, July 2000. Available from and held in escrow by IANA.] NAPTR 35 Naming Authority Pointer [RFC2915][RFC2168][RFC3403] KX 36 Key Exchanger [RFC2230] CERT 37 CERT [RFC4398] A6 38 A6 (OBSOLETE - use AAAA) [RFC3226][RFC2874][RFC6563] DNAME 39 DNAME [RFC6672] SINK 40 SINK [Donald_E_Eastlake][http://tools.ietf.org/html/draft-eastlake-kitchen-sink] 1997-11 OPT 41 OPT [RFC6891][RFC3225] APL 42 APL [RFC3123] DS 43 Delegation Signer [RFC4034][RFC3658] SSHFP 44 SSH Key Fingerprint [RFC4255] IPSECKEY 45 IPSECKEY [RFC4025] RRSIG 46 RRSIG [RFC4034][RFC3755] NSEC 47 NSEC [RFC4034][RFC3755] DNSKEY 48 DNSKEY [RFC4034][RFC3755] DHCID 49 DHCID [RFC4701] NSEC3 50 NSEC3 [RFC5155] NSEC3PARAM 51 NSEC3PARAM [RFC5155] TLSA 52 TLSA [RFC6698] SMIMEA 53 S/MIME cert association [RFC8162] SMIMEA/smimea-completed-template 2015-12-01 Unassigned 54 HIP 55 Host Identity Protocol [RFC8005] NINFO 56 NINFO [Jim_Reid] NINFO/ninfo-completed-template 2008-01-21 RKEY 57 RKEY [Jim_Reid] RKEY/rkey-completed-template 2008-01-21 TALINK 58 Trust Anchor LINK [Wouter_Wijngaards] TALINK/talink-completed-template 2010-02-17 CDS 59 Child DS [RFC7344] CDS/cds-completed-template 2011-06-06 CDNSKEY 60 DNSKEY(s) the Child wants reflected in DS [RFC7344] 2014-06-16 OPENPGPKEY 61 OpenPGP Key [RFC7929] OPENPGPKEY/openpgpkey-completed-template 2014-08-12 CSYNC 62 Child-To-Parent Synchronization [RFC7477] 2015-01-27 Unassigned 63-98 SPF 99 [RFC7208] UINFO 100 [IANA-Reserved] UID 101 [IANA-Reserved] GID 102 [IANA-Reserved] UNSPEC 103 [IANA-Reserved] NID 104 [RFC6742] ILNP/nid-completed-template L32 105 [RFC6742] ILNP/l32-completed-template L64 106 [RFC6742] ILNP/l64-completed-template LP 107 [RFC6742] ILNP/lp-completed-template EUI48 108 an EUI-48 address [RFC7043] EUI48/eui48-completed-template 2013-03-27 EUI64 109 an EUI-64 address [RFC7043] EUI64/eui64-completed-template 2013-03-27 Unassigned 110-248 TKEY 249 Transaction Key [RFC2930] TSIG 250 Transaction Signature [RFC2845] IXFR 251 incremental transfer [RFC1995] AXFR 252 transfer of an entire zone [RFC1035][RFC5936] MAILB 253 mailbox-related RRs (MB, MG or MR) [RFC1035] MAILA 254 mail agent RRs (OBSOLETE - see MX) [RFC1035] 255 A request for all records the server/cache has available [RFC1035][RFC6895] URI 256 URI [RFC7553] URI/uri-completed-template 2011-02-22 CAA 257 Certification Authority Restriction [RFC6844] CAA/caa-completed-template 2011-04-07 AVC 258 Application Visibility and Control [Wolfgang_Riedel] AVC/avc-completed-template 2016-02-26 DOA 259 Digital Object Architecture [draft-durand-doa-over-dns] DOA/doa-completed-template 2017-08-30 Unassigned 260-32767 TA 32768 DNSSEC Trust Authorities [Sam_Weiler][http://cameo.library.cmu.edu/][ Deploying DNSSEC Without a Signed Root. Technical Report 1999-19, Information Networking Institute, Carnegie Mellon University, April 2004.] 2005-12-13 DLV 32769 DNSSEC Lookaside Validation [RFC4431] Unassigned 32770-65279 Private use 65280-65534 Reserved 65535
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AA6AAAAAFSDBANYAPLATMAAVCAXFRCAACDNSKEYCDSCERTCNAMECSYNCDHCIDDLVDNAMEDNSKEYDOADSEIDEUI48EUI64GIDGPOSHINFOHIPIPSECKEYISDNIXFRKEYKXL32L64LOCLPMAILAMAILBMBMDMFMGMINFOMRMXNAPTRNIDNIMLOCNINFONSNSAPNSAP_PTRNSECNSEC3NSEC3PARAMNULLNXTOPENPGPKEYOPTPRIVATEPTRPXRESERVEDRKEYRPRRSIGRTSIGSINKSMIMEASOASPFSRVSSHFPTATALINKTKEYTLSATSIGTXTUIDUINFOUNASSIGNEDUNASSIGNED_54UNKNOWNUNSPECURIWKSX25
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceRecordTypefromString(String name)static ResourceRecordTypefromValue(int value)intgetValue()static ResourceRecordTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceRecordType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final ResourceRecordType A
-
NS
public static final ResourceRecordType NS
-
MD
public static final ResourceRecordType MD
-
MF
public static final ResourceRecordType MF
-
CNAME
public static final ResourceRecordType CNAME
-
SOA
public static final ResourceRecordType SOA
-
MB
public static final ResourceRecordType MB
-
MG
public static final ResourceRecordType MG
-
MR
public static final ResourceRecordType MR
-
NULL
public static final ResourceRecordType NULL
-
WKS
public static final ResourceRecordType WKS
-
PTR
public static final ResourceRecordType PTR
-
HINFO
public static final ResourceRecordType HINFO
-
MINFO
public static final ResourceRecordType MINFO
-
MX
public static final ResourceRecordType MX
-
TXT
public static final ResourceRecordType TXT
-
RP
public static final ResourceRecordType RP
-
AFSDB
public static final ResourceRecordType AFSDB
-
X25
public static final ResourceRecordType X25
-
ISDN
public static final ResourceRecordType ISDN
-
RT
public static final ResourceRecordType RT
-
NSAP
public static final ResourceRecordType NSAP
-
NSAP_PTR
public static final ResourceRecordType NSAP_PTR
-
SIG
public static final ResourceRecordType SIG
-
KEY
public static final ResourceRecordType KEY
-
PX
public static final ResourceRecordType PX
-
GPOS
public static final ResourceRecordType GPOS
-
AAAA
public static final ResourceRecordType AAAA
-
LOC
public static final ResourceRecordType LOC
-
NXT
public static final ResourceRecordType NXT
-
EID
public static final ResourceRecordType EID
-
NIMLOC
public static final ResourceRecordType NIMLOC
-
SRV
public static final ResourceRecordType SRV
-
ATMA
public static final ResourceRecordType ATMA
-
NAPTR
public static final ResourceRecordType NAPTR
-
KX
public static final ResourceRecordType KX
-
CERT
public static final ResourceRecordType CERT
-
A6
public static final ResourceRecordType A6
-
DNAME
public static final ResourceRecordType DNAME
-
SINK
public static final ResourceRecordType SINK
-
OPT
public static final ResourceRecordType OPT
-
APL
public static final ResourceRecordType APL
-
DS
public static final ResourceRecordType DS
-
SSHFP
public static final ResourceRecordType SSHFP
-
IPSECKEY
public static final ResourceRecordType IPSECKEY
-
RRSIG
public static final ResourceRecordType RRSIG
-
NSEC
public static final ResourceRecordType NSEC
-
DNSKEY
public static final ResourceRecordType DNSKEY
-
DHCID
public static final ResourceRecordType DHCID
-
NSEC3
public static final ResourceRecordType NSEC3
-
NSEC3PARAM
public static final ResourceRecordType NSEC3PARAM
-
TLSA
public static final ResourceRecordType TLSA
-
SMIMEA
public static final ResourceRecordType SMIMEA
-
UNASSIGNED_54
public static final ResourceRecordType UNASSIGNED_54
-
HIP
public static final ResourceRecordType HIP
-
NINFO
public static final ResourceRecordType NINFO
-
RKEY
public static final ResourceRecordType RKEY
-
TALINK
public static final ResourceRecordType TALINK
-
CDS
public static final ResourceRecordType CDS
-
CDNSKEY
public static final ResourceRecordType CDNSKEY
-
OPENPGPKEY
public static final ResourceRecordType OPENPGPKEY
-
CSYNC
public static final ResourceRecordType CSYNC
-
SPF
public static final ResourceRecordType SPF
-
UINFO
public static final ResourceRecordType UINFO
-
UID
public static final ResourceRecordType UID
-
GID
public static final ResourceRecordType GID
-
UNSPEC
public static final ResourceRecordType UNSPEC
-
NID
public static final ResourceRecordType NID
-
L32
public static final ResourceRecordType L32
-
L64
public static final ResourceRecordType L64
-
LP
public static final ResourceRecordType LP
-
EUI48
public static final ResourceRecordType EUI48
-
EUI64
public static final ResourceRecordType EUI64
-
TKEY
public static final ResourceRecordType TKEY
-
TSIG
public static final ResourceRecordType TSIG
-
IXFR
public static final ResourceRecordType IXFR
-
AXFR
public static final ResourceRecordType AXFR
-
MAILB
public static final ResourceRecordType MAILB
-
MAILA
public static final ResourceRecordType MAILA
-
ANY
public static final ResourceRecordType ANY
-
URI
public static final ResourceRecordType URI
-
CAA
public static final ResourceRecordType CAA
-
AVC
public static final ResourceRecordType AVC
-
DOA
public static final ResourceRecordType DOA
-
TA
public static final ResourceRecordType TA
-
DLV
public static final ResourceRecordType DLV
-
RESERVED
public static final ResourceRecordType RESERVED
-
UNASSIGNED
public static final ResourceRecordType UNASSIGNED
-
PRIVATE
public static final ResourceRecordType PRIVATE
-
UNKNOWN
public static final ResourceRecordType UNKNOWN
-
-
Method Detail
-
values
public static ResourceRecordType[] 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 (ResourceRecordType c : ResourceRecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceRecordType 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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-
fromString
public static ResourceRecordType fromString(String name)
-
fromValue
public static ResourceRecordType fromValue(int value)
-
-