Package nl.sidnlabs.dnslib.types
Enum Class RcodeType
- All Implemented Interfaces:
Serializable,Comparable<RcodeType>,Constable
DNS RCODEs
Registration Procedures IETF Review Reference [RFC6895][RFC1035]
RCODE Name Description Reference 0 NoError No Error [RFC1035] 1 FormErr Format Error [RFC1035] 2
ServFail Server Failure [RFC1035] 3 NXDomain Non-Existent Domain [RFC1035] 4 NotImp Not
Implemented [RFC1035] 5 Refused Query Refused [RFC1035] 6 YXDomain Name Exists when it should not
[RFC2136] 7 YXRRSet RR Set Exists when it should not [RFC2136] 8 NXRRSet RR Set that should exist
does not [RFC2136] 9 NotAuth Server Not Authoritative for zone [RFC2136] 9 NotAuth Not Authorized
[RFC2845] 10 NotZone Name not contained in zone [RFC2136] 11-15 Unassigned 16 BADVERS Bad OPT
Version [RFC-ietf-dnsext-rfc2671bis-edns0-10] 16 BADSIG TSIG Signature Failure [RFC2845] 17
BADKEY Key not recognized [RFC2845] 18 BADTIME Signature out of time window [RFC2845] 19 BADMODE
Bad TKEY Mode [RFC2930] 20 BADNAME Duplicate key name [RFC2930] 21 BADALG Algorithm not supported
[RFC2930] 22 BADTRUNC Bad Truncation [RFC4635] 23 BADCOOKIE Bad/missing Server Cookie [RFC7873]
24-3840 Unassigned 3841-4095 Reserved for Private Use [RFC-ietf-dnsext-rfc6195bis-05] 4096-65534
Unassigned 65535 Reserved, can be allocated by Standards Action [RFC-ietf-dnsext-rfc6195bis-05]
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
NO_ERROR
-
FORMAT_ERROR
-
SERVER_FAILURE
-
NXDOMAIN
-
NOT_IMPLEMENTED
-
REFUSED
-
YXDOMAIN
-
YXRRSET
-
NXRRSET
-
NOTAUTH
-
NOTZONE
-
BADVERS_OR_BADSIG
-
BADKEY
-
BADTIME
-
BADMODE
-
BADNAME
-
BADALG
-
BADTRUNC
-
BADCOOKIE
-
RESERVED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public char getValue() -
fromValue
-