| Package | Description |
|---|---|
| org.minidns.dnslabel |
DNS label parsing and validation utilities.
|
| org.minidns.dnsname |
DNS name parsing, validation, and manipulation utilities.
|
| org.minidns.record |
DNS resource record types and implementations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ALabel
Represents an ASCII label in DNS.
|
class |
FakeALabel
Represents a fake A-label in DNS labels.
A fake A-label is a special type of XN-label used for handling certain edge cases in internationalized domain names. |
class |
LdhLabel
A LDH (Letters, Digits, Hyphen) label, which is the classical label form.
|
class |
LeadingOrTrailingHyphenLabel
A DNS label with a leading or trailing hyphen ('-').
|
class |
NonLdhLabel
A DNS label which contains more than just letters, digits and a hyphen.
|
class |
NonReservedLdhLabel
A Non-Reserved LDH label (NR-LDH label), which do not have "--" in the third and fourth position.
|
class |
OtherNonLdhLabel
A Non-LDH label which does not begin with an underscore ('_'), hyphen ('-') or ends with an hyphen.
|
class |
ReservedLdhLabel
A reserved LDH label (R-LDH label), which have the property that they contain "--" in the third and fourth characters.
|
class |
UnderscoreLabel
A DNS label which begins with an underscore ('_').
|
class |
XnLabel
A label that begins with "xn--" and follows the LDH rule.
|
| Modifier and Type | Field and Description |
|---|---|
static DnsLabel |
DnsLabel.WILDCARD_LABEL |
| Modifier and Type | Method and Description |
|---|---|
DnsLabel |
DnsLabel.asLowercaseVariant() |
static DnsLabel |
DnsLabel.from(String label) |
static DnsLabel[] |
DnsLabel.from(String[] labels) |
protected static DnsLabel |
NonLdhLabel.fromInternal(String label) |
| Modifier and Type | Method and Description |
|---|---|
int |
DnsLabel.compareTo(DnsLabel other) |
| Modifier and Type | Method and Description |
|---|---|
DnsLabel |
DnsName.getHostpartLabel() |
DnsLabel |
DnsName.getLabel(int labelNum) |
DnsLabel[] |
DnsName.getLabels()
Get a copy of the labels of this DNS name.
|
DnsLabel[] |
DnsName.getRawLabels()
Get a copy of the raw labels of this DNS name.
|
| Modifier and Type | Method and Description |
|---|---|
static DnsName |
DnsName.from(DnsLabel grandchild,
DnsLabel child,
DnsName parent) |
static DnsName |
DnsName.from(DnsLabel child,
DnsName parent) |
| Modifier and Type | Method and Description |
|---|---|
DnsLabel |
NSEC3.getNextHashedDnsLabel() |