| Package | Description |
|---|---|
| org.minidns.dnsmessage | DNS message parsing and serialization. |
| org.minidns.dnsname | DNS name parsing, validation, and manipulation utilities. |
| org.minidns.record | DNS resource record types and implementations. |
| org.minidns.util | Utility classes and helper functions for MiniDNS. |
| Modifier and Type | Field and Description |
|---|---|
DnsName | Question.nameThe question string (e.g. |
| Constructor and Description |
|---|
Question(DnsName name,
Record.TYPE type)Create a dns question for the given name/type/IN (internet class). |
Question(DnsName name,
Record.TYPE type,
Record.CLASS clazz)Create a dns question for the given name/type/class. |
Question(DnsName name,
Record.TYPE type,
Record.CLASS clazz,
boolean unicastQuery) |
| Modifier and Type | Field and Description |
|---|---|
static DnsName | DnsName.IN_ADDR_ARPAIN_ADDR_ARPA. |
static DnsName | DnsName.IP6_ARPAIP6_ARPA. |
static DnsName | DnsName.ROOTROOT. |
| Modifier and Type | Method and Description |
|---|---|
static DnsName | DnsName.from(CharSequence name)from. |
static DnsName | DnsName.from(CharSequence child,
DnsName parent)from. |
static DnsName | DnsName.from(DnsLabel grandchild,
DnsLabel child,
DnsName parent)from. |
static DnsName | DnsName.from(DnsLabel child,
DnsName parent)from. |
static DnsName | DnsName.from(DnsName... nameComponents)from. |
static DnsName | DnsName.from(DnsName child,
DnsName parent)Create a DNS name by "concatenating" the child under the parent name. |
static DnsName | DnsName.from(String name)from. |
static DnsName | DnsName.from(String[] parts)from. |
DnsName | DnsName.getParent()Return the parent of this DNS label. |
static DnsName | DnsName.parse(DataInputStream dis,
byte[] data)Parse a domain name starting at the current offset and moving the input
stream pointer past this domain name (even if cross references occure). |
DnsName | DnsName.stripToLabels(int labelCount)stripToLabels. |
| Modifier and Type | Method and Description |
|---|---|
int | DnsName.compareTo(DnsName other)compareTo. |
static DnsName | DnsName.from(CharSequence child,
DnsName parent)from. |
static DnsName | DnsName.from(DnsLabel grandchild,
DnsLabel child,
DnsName parent)from. |
static DnsName | DnsName.from(DnsLabel child,
DnsName parent)from. |
static DnsName | DnsName.from(DnsName... nameComponents)from. |
static DnsName | DnsName.from(DnsName child,
DnsName parent)Create a DNS name by "concatenating" the child under the parent name. |
boolean | DnsName.isChildOf(DnsName parent)isChildOf. |
boolean | DnsName.isDirectChildOf(DnsName parent)isDirectChildOf. |
| Modifier and Type | Field and Description |
|---|---|
DnsName | SOA.mnameThe domain name of the name server that was the original or primary source of data for this zone. |
DnsName | RRWithTarget.nameDeprecated. RRWithTarget.target instead. |
DnsName | Record.nameThe generic name of this record. |
DnsName | MX.nameDeprecated. use MX.target instead. |
DnsName | NSEC.nextThe next owner name that contains a authoritative data or a delegation point. |
DnsName | SOA.rnameA domain name which specifies the mailbox of the person responsible for this zone. |
DnsName | RRSIG.signerNameThe owner name of the DNSKEY RR that a validator is supposed to use. |
DnsName | RRWithTarget.targetThe target domain name |
DnsName | MX.targetThe name of the target server. |
| Modifier and Type | Method and Description |
|---|---|
DnsName | RRWithTarget.getTarget() |
| Constructor and Description |
|---|
CNAME(DnsName target)Create a CNAME record from a DnsName target. |
DNAME(DnsName target)DNAME. |
MX(int priority,
DnsName name)MX. |
NS(DnsName name)NS. |
NSEC(DnsName next,
List<Record.TYPE> types)NSEC. |
PTR(DnsName name) |
Record(DnsName name,
Record.TYPE type,
int clazzValue,
long ttl,
D payloadData)Create a new record with a raw class value. |
Record(DnsName name,
Record.TYPE type,
Record.CLASS clazz,
long ttl,
D payloadData,
boolean unicastQuery)Create a new record. |
RRSIG(Record.TYPE typeCovered,
DnssecConstants.SignatureAlgorithm algorithm,
byte labels,
long originalTtl,
Date signatureExpiration,
Date signatureInception,
int keyTag,
DnsName signerName,
byte[] signature)RRSIG. |
RRSIG(Record.TYPE typeCovered,
int algorithm,
byte labels,
long originalTtl,
Date signatureExpiration,
Date signatureInception,
int keyTag,
DnsName signerName,
byte[] signature)RRSIG. |
RRWithTarget(DnsName target)RRWithTarget. |
SOA(DnsName mname,
DnsName rname,
long serial,
int refresh,
int retry,
int expire,
long minimum)SOA. |
SRV(int priority,
int weight,
int port,
DnsName target)SRV. |
| Modifier and Type | Method and Description |
|---|---|
static DnsName | InetAddressUtil.reverseIpAddressOf(Inet4Address inet4Address)Creates the reverse DNS name for the given IPv4 address. |
static DnsName | InetAddressUtil.reverseIpAddressOf(Inet6Address inet6Address)Creates the reverse DNS name for the given IPv6 address. |