DnsResponseCode Class — netty Architecture
Architecture documentation for the DnsResponseCode class in DnsResponseCode.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f1bf0a0f_e579_018c_a6fc_3179bca0835d["DnsResponseCode"] 9cec6189_ed33_e0b6_e3d4_d284596384ba["DnsResponseCode.java"] f1bf0a0f_e579_018c_a6fc_3179bca0835d -->|defined in| 9cec6189_ed33_e0b6_e3d4_d284596384ba 88032c35_cb1b_c56c_3222_5a2be68f3346["DnsResponseCode()"] f1bf0a0f_e579_018c_a6fc_3179bca0835d -->|method| 88032c35_cb1b_c56c_3222_5a2be68f3346 d36bca4a_be2d_108d_ddd8_7613afb01327["intValue()"] f1bf0a0f_e579_018c_a6fc_3179bca0835d -->|method| d36bca4a_be2d_108d_ddd8_7613afb01327 08c169fb_6f70_70a0_d403_426c00af24e7["compareTo()"] f1bf0a0f_e579_018c_a6fc_3179bca0835d -->|method| 08c169fb_6f70_70a0_d403_426c00af24e7 e9bab166_2758_0e45_ab67_4adacafe2c91["hashCode()"] f1bf0a0f_e579_018c_a6fc_3179bca0835d -->|method| e9bab166_2758_0e45_ab67_4adacafe2c91 b0e689a7_75bd_30b6_682b_ddb09181bbe5["equals()"] f1bf0a0f_e579_018c_a6fc_3179bca0835d -->|method| b0e689a7_75bd_30b6_682b_ddb09181bbe5 2aea90f8_6254_7849_ff6d_e3d45f2aa2b4["String()"] f1bf0a0f_e579_018c_a6fc_3179bca0835d -->|method| 2aea90f8_6254_7849_ff6d_e3d45f2aa2b4
Relationship Graph
Source Code
codec-dns/src/main/java/io/netty/handler/codec/dns/DnsResponseCode.java lines 23–216
public class DnsResponseCode implements Comparable<DnsResponseCode> {
/**
* The 'NoError' DNS RCODE (0), as defined in <a href="https://tools.ietf.org/html/rfc1035">RFC1035</a>.
*/
public static final DnsResponseCode NOERROR = new DnsResponseCode(0, "NoError");
/**
* The 'FormErr' DNS RCODE (1), as defined in <a href="https://tools.ietf.org/html/rfc1035">RFC1035</a>.
*/
public static final DnsResponseCode FORMERR = new DnsResponseCode(1, "FormErr");
/**
* The 'ServFail' DNS RCODE (2), as defined in <a href="https://tools.ietf.org/html/rfc1035">RFC1035</a>.
*/
public static final DnsResponseCode SERVFAIL = new DnsResponseCode(2, "ServFail");
/**
* The 'NXDomain' DNS RCODE (3), as defined in <a href="https://tools.ietf.org/html/rfc1035">RFC1035</a>.
*/
public static final DnsResponseCode NXDOMAIN = new DnsResponseCode(3, "NXDomain");
/**
* The 'NotImp' DNS RCODE (4), as defined in <a href="https://tools.ietf.org/html/rfc1035">RFC1035</a>.
*/
public static final DnsResponseCode NOTIMP = new DnsResponseCode(4, "NotImp");
/**
* The 'Refused' DNS RCODE (5), as defined in <a href="https://tools.ietf.org/html/rfc1035">RFC1035</a>.
*/
public static final DnsResponseCode REFUSED = new DnsResponseCode(5, "Refused");
/**
* The 'YXDomain' DNS RCODE (6), as defined in <a href="https://tools.ietf.org/html/rfc2136">RFC2136</a>.
*/
public static final DnsResponseCode YXDOMAIN = new DnsResponseCode(6, "YXDomain");
/**
* The 'YXRRSet' DNS RCODE (7), as defined in <a href="https://tools.ietf.org/html/rfc2136">RFC2136</a>.
*/
public static final DnsResponseCode YXRRSET = new DnsResponseCode(7, "YXRRSet");
/**
* The 'NXRRSet' DNS RCODE (8), as defined in <a href="https://tools.ietf.org/html/rfc2136">RFC2136</a>.
*/
public static final DnsResponseCode NXRRSET = new DnsResponseCode(8, "NXRRSet");
/**
* The 'NotAuth' DNS RCODE (9), as defined in <a href="https://tools.ietf.org/html/rfc2136">RFC2136</a>.
*/
public static final DnsResponseCode NOTAUTH = new DnsResponseCode(9, "NotAuth");
/**
* The 'NotZone' DNS RCODE (10), as defined in <a href="https://tools.ietf.org/html/rfc2136">RFC2136</a>.
*/
public static final DnsResponseCode NOTZONE = new DnsResponseCode(10, "NotZone");
/**
* The 'BADVERS' or 'BADSIG' DNS RCODE (16), as defined in <a href="https://tools.ietf.org/html/rfc2671">RFC2671</a>
* and <a href="https://tools.ietf.org/html/rfc2845">RFC2845</a>.
*/
public static final DnsResponseCode BADVERS_OR_BADSIG = new DnsResponseCode(16, "BADVERS_OR_BADSIG");
/**
* The 'BADKEY' DNS RCODE (17), as defined in <a href="https://tools.ietf.org/html/rfc2845">RFC2845</a>.
*/
public static final DnsResponseCode BADKEY = new DnsResponseCode(17, "BADKEY");
/**
* The 'BADTIME' DNS RCODE (18), as defined in <a href="https://tools.ietf.org/html/rfc2845">RFC2845</a>.
*/
public static final DnsResponseCode BADTIME = new DnsResponseCode(18, "BADTIME");
/**
* The 'BADMODE' DNS RCODE (19), as defined in <a href="https://tools.ietf.org/html/rfc2930">RFC2930</a>.
*/
public static final DnsResponseCode BADMODE = new DnsResponseCode(19, "BADMODE");
/**
* The 'BADNAME' DNS RCODE (20), as defined in <a href="https://tools.ietf.org/html/rfc2930">RFC2930</a>.
*/
Source
Frequently Asked Questions
What is the DnsResponseCode class?
DnsResponseCode is a class in the netty codebase, defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsResponseCode.java.
Where is DnsResponseCode defined?
DnsResponseCode is defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsResponseCode.java at line 23.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free