Package org.xbill.DNS
Class Rcode
java.lang.Object
org.xbill.DNS.Rcode
Constants and functions relating to DNS rcodes (error values)
- Author:
- Brian Wellington
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAlgorithm not supported (TKEY extended error)static final intBad or missing server cookie (RFC 7873)static final intThe key is invalid (TSIG/TKEY extended error)static final intThe mode is invalid (TKEY extended error)static final intDuplicate key name (TKEY extended error)static final intThe signature is invalid (TSIG/TKEY extended error)static final intThe time is out of range (TSIG/TKEY extended error)static final intBad truncation (RFC 4635)static final intUnsupported EDNS levelstatic final intFormat errorstatic final intNo errorstatic final intThe requestor is not authorized to perform this operationstatic final intThe operation requested is not implementedstatic final intDeprecated.static final intThe zone specified is not a zonestatic final intThe name does not existstatic final intThe RRset (name, type) does not existstatic final intThe operation was refused by the serverstatic final intServer failurestatic final intThe name existsstatic final intThe RRset (name, type) exists -
Method Summary
-
Field Details
-
NOERROR
public static final int NOERRORNo error- See Also:
-
FORMERR
public static final int FORMERRFormat error- See Also:
-
SERVFAIL
public static final int SERVFAILServer failure- See Also:
-
NXDOMAIN
public static final int NXDOMAINThe name does not exist- See Also:
-
NOTIMP
public static final int NOTIMPThe operation requested is not implemented- See Also:
-
NOTIMPL
Deprecated.UseNOTIMP.Synonym for NOTIMP.- See Also:
-
REFUSED
public static final int REFUSEDThe operation was refused by the server- See Also:
-
YXDOMAIN
public static final int YXDOMAINThe name exists- See Also:
-
YXRRSET
public static final int YXRRSETThe RRset (name, type) exists- See Also:
-
NXRRSET
public static final int NXRRSETThe RRset (name, type) does not exist- See Also:
-
NOTAUTH
public static final int NOTAUTHThe requestor is not authorized to perform this operation- See Also:
-
NOTZONE
public static final int NOTZONEThe zone specified is not a zone- See Also:
-
BADVERS
public static final int BADVERSUnsupported EDNS level- See Also:
-
BADSIG
public static final int BADSIGThe signature is invalid (TSIG/TKEY extended error)- See Also:
-
BADKEY
public static final int BADKEYThe key is invalid (TSIG/TKEY extended error)- See Also:
-
BADTIME
public static final int BADTIMEThe time is out of range (TSIG/TKEY extended error)- See Also:
-
BADMODE
public static final int BADMODEThe mode is invalid (TKEY extended error)- See Also:
-
BADNAME
public static final int BADNAMEDuplicate key name (TKEY extended error)- See Also:
-
BADALG
public static final int BADALGAlgorithm not supported (TKEY extended error)- See Also:
-
BADTRUNC
public static final int BADTRUNCBad truncation (RFC 4635)- See Also:
-
BADCOOKIE
public static final int BADCOOKIEBad or missing server cookie (RFC 7873)- See Also:
-
-
Method Details
-
string
Converts a numeric Rcode into a String -
TSIGstring
Converts a numeric TSIG extended Rcode into a String -
value
Converts a String representation of an Rcode into its numeric value
-
NOTIMP.