MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / Rcode

Class Rcode

src/main/java/core/org/xbill/DNS/Rcode.java:11–123  ·  view source on GitHub ↗

Constants and functions relating to DNS rcodes (error values) @author Brian Wellington

Source from the content-addressed store, hash-verified

9 */
10
11public final class Rcode {
12
13private static Mnemonic rcodes = new Mnemonic("DNS Rcode",
14 Mnemonic.CASE_UPPER);
15
16private static Mnemonic tsigrcodes = new Mnemonic("TSIG rcode",
17 Mnemonic.CASE_UPPER);
18
19/** No error */
20public static final int NOERROR = 0;
21
22/** Format error */
23public static final int FORMERR = 1;
24
25/** Server failure */
26public static final int SERVFAIL = 2;
27
28/** The name does not exist */
29public static final int NXDOMAIN = 3;
30
31/** The operation requested is not implemented */
32public static final int NOTIMP = 4;
33
34/** Deprecated synonym for NOTIMP. */
35public static final int NOTIMPL = 4;
36
37/** The operation was refused by the server */
38public static final int REFUSED = 5;
39
40/** The name exists */
41public static final int YXDOMAIN = 6;
42
43/** The RRset (name, type) exists */
44public static final int YXRRSET = 7;
45
46/** The RRset (name, type) does not exist */
47public static final int NXRRSET = 8;
48
49/** The requestor is not authorized to perform this operation */
50public static final int NOTAUTH = 9;
51
52/** The zone specified is not a zone */
53public static final int NOTZONE = 10;
54
55/* EDNS extended rcodes */
56/** Unsupported EDNS level */
57public static final int BADVERS = 16;
58
59/* TSIG/TKEY only rcodes */
60/** The signature is invalid (TSIG/TKEY extended error) */
61public static final int BADSIG = 16;
62
63/** The key is invalid (TSIG/TKEY extended error) */
64public static final int BADKEY = 17;
65
66/** The time is out of range (TSIG/TKEY extended error) */
67public static final int BADTIME = 18;
68

Callers

nothing calls this directly

Calls 6

setMaximumMethod · 0.80
setPrefixMethod · 0.80
setNumericAllowedMethod · 0.80
addAliasMethod · 0.80
addMethod · 0.45
addAllMethod · 0.45

Tested by

no test coverage detected