DnsRecordType Class — netty Architecture
Architecture documentation for the DnsRecordType class in DnsRecordType.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2e8637f3_1764_7eee_11cf_80b493c858b9["DnsRecordType"] 68d4a758_04b6_9283_2abb_eae7d9141650["DnsRecordType.java"] 2e8637f3_1764_7eee_11cf_80b493c858b9 -->|defined in| 68d4a758_04b6_9283_2abb_eae7d9141650 51907f1f_6b3c_bb9f_2805_05141e431d1e["DnsRecordType()"] 2e8637f3_1764_7eee_11cf_80b493c858b9 -->|method| 51907f1f_6b3c_bb9f_2805_05141e431d1e d001c36b_4b80_19b5_37da_de31dd7d3c17["String()"] 2e8637f3_1764_7eee_11cf_80b493c858b9 -->|method| d001c36b_4b80_19b5_37da_de31dd7d3c17 cfc11cb2_7828_a4ac_1887_35da5ccf0bdc["intValue()"] 2e8637f3_1764_7eee_11cf_80b493c858b9 -->|method| cfc11cb2_7828_a4ac_1887_35da5ccf0bdc 63882222_57b3_4d22_2b42_1ed1b5b54aff["hashCode()"] 2e8637f3_1764_7eee_11cf_80b493c858b9 -->|method| 63882222_57b3_4d22_2b42_1ed1b5b54aff 44a20e2c_cb5a_f456_a14a_eaecc878cd39["equals()"] 2e8637f3_1764_7eee_11cf_80b493c858b9 -->|method| 44a20e2c_cb5a_f456_a14a_eaecc878cd39 58b8ddc6_9b0a_58d5_67bc_3d14d3a85f91["compareTo()"] 2e8637f3_1764_7eee_11cf_80b493c858b9 -->|method| 58b8ddc6_9b0a_58d5_67bc_3d14d3a85f91
Relationship Graph
Source Code
codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecordType.java lines 26–414
public class DnsRecordType implements Comparable<DnsRecordType> {
/**
* Address record RFC 1035 Returns a 32-bit IPv4 address, most commonly used
* to map hostnames to an IP address of the host, but also used for DNSBLs,
* storing subnet masks in RFC 1101, etc.
*/
public static final DnsRecordType A = new DnsRecordType(0x0001, "A");
/**
* Name server record RFC 1035 Delegates a DNS zone to use the given
* authoritative name servers
*/
public static final DnsRecordType NS = new DnsRecordType(0x0002, "NS");
/**
* Canonical name record RFC 1035 Alias of one name to another: the DNS
* lookup will continue by retrying the lookup with the new name.
*/
public static final DnsRecordType CNAME = new DnsRecordType(0x0005, "CNAME");
/**
* Start of [a zone of] authority record RFC 1035 and RFC 2308 Specifies
* authoritative information about a DNS zone, including the primary name
* server, the email of the domain administrator, the domain serial number,
* and several timers relating to refreshing the zone.
*/
public static final DnsRecordType SOA = new DnsRecordType(0x0006, "SOA");
/**
* Pointer record RFC 1035 Pointer to a canonical name. Unlike a CNAME, DNS
* processing does NOT proceed, just the name is returned. The most common
* use is for implementing reverse DNS lookups, but other uses include such
* things as DNS-SD.
*/
public static final DnsRecordType PTR = new DnsRecordType(0x000c, "PTR");
/**
* Mail exchange record RFC 1035 Maps a domain name to a list of message
* transfer agents for that domain.
*/
public static final DnsRecordType MX = new DnsRecordType(0x000f, "MX");
/**
* Text record RFC 1035 Originally for arbitrary human-readable text in a
* DNS record. Since the early 1990s, however, this record more often
* carries machine-readable data, such as specified by RFC 1464,
* opportunistic encryption, Sender Policy Framework, DKIM, DMARC DNS-SD,
* etc.
*/
public static final DnsRecordType TXT = new DnsRecordType(0x0010, "TXT");
/**
* Responsible person record RFC 1183 Information about the responsible
* person(s) for the domain. Usually an email address with the @ replaced by
* a .
*/
public static final DnsRecordType RP = new DnsRecordType(0x0011, "RP");
/**
* AFS database record RFC 1183 Location of database servers of an AFS cell.
* This record is commonly used by AFS clients to contact AFS cells outside
* their local domain. A subtype of this record is used by the obsolete
* DCE/DFS file system.
*/
public static final DnsRecordType AFSDB = new DnsRecordType(0x0012, "AFSDB");
/**
* Signature record RFC 2535 Signature record used in SIG(0) (RFC 2931) and
* TKEY (RFC 2930). RFC 3755 designated RRSIG as the replacement for SIG for
* use within DNSSEC.
*/
public static final DnsRecordType SIG = new DnsRecordType(0x0018, "SIG");
/**
* key record RFC 2535 and RFC 2930 Used only for SIG(0) (RFC 2931) and TKEY
* (RFC 2930). RFC 3445 eliminated their use for application keys and
* limited their use to DNSSEC. RFC 3755 designates DNSKEY as the
* replacement within DNSSEC. RFC 4025 designates IPSECKEY as the
* replacement for use with IPsec.
*/
Source
Frequently Asked Questions
What is the DnsRecordType class?
DnsRecordType is a class in the netty codebase, defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecordType.java.
Where is DnsRecordType defined?
DnsRecordType is defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecordType.java at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free