DnsRecord Type — netty Architecture
Architecture documentation for the DnsRecord type/interface in DnsRecord.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 81f5e59c_968f_fd01_3fec_d9c3c5b8b609["DnsRecord"] e83d9af4_c6cc_2692_3ac6_ec00141ea1ab["DnsRecord.java"] 81f5e59c_968f_fd01_3fec_d9c3c5b8b609 -->|defined in| e83d9af4_c6cc_2692_3ac6_ec00141ea1ab style 81f5e59c_968f_fd01_3fec_d9c3c5b8b609 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecord.java lines 21–82
public interface DnsRecord {
/**
* DNS resource record class: {@code IN}
*/
int CLASS_IN = 0x0001;
/**
* DNS resource record class: {@code CSNET}
*/
int CLASS_CSNET = 0x0002;
/**
* DNS resource record class: {@code CHAOS}
*/
int CLASS_CHAOS = 0x0003;
/**
* DNS resource record class: {@code HESIOD}
*/
int CLASS_HESIOD = 0x0004;
/**
* DNS resource record class: {@code NONE}
*/
int CLASS_NONE = 0x00fe;
/**
* DNS resource record class: {@code ANY}
*/
int CLASS_ANY = 0x00ff;
/**
* Returns the name of this resource record.
*/
String name();
/**
* Returns the type of this resource record.
*/
DnsRecordType type();
/**
* Returns the class of this resource record.
*
* @return the class value, usually one of the following:
* <ul>
* <li>{@link #CLASS_IN}</li>
* <li>{@link #CLASS_CSNET}</li>
* <li>{@link #CLASS_CHAOS}</li>
* <li>{@link #CLASS_HESIOD}</li>
* <li>{@link #CLASS_NONE}</li>
* <li>{@link #CLASS_ANY}</li>
* </ul>
*/
int dnsClass();
/**
* Returns the time to live after reading for this resource record.
*/
long timeToLive();
}
Source
Frequently Asked Questions
What is the DnsRecord type?
DnsRecord is a type/interface in the netty codebase, defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecord.java.
Where is DnsRecord defined?
DnsRecord is defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsRecord.java at line 21.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free