## Uses of Class
org.minidns.dnsname.DnsName

- Packages that use DnsName
  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.

- - ### Uses of DnsName in org.minidns.dnsmessage

    Fields in org.minidns.dnsmessage declared as DnsName
    Modifier and Type | Field and Description
    --- | ---
    `DnsName` | Question.`name` The question string (e.g.

    Constructors in org.minidns.dnsmessage with parameters of type DnsName
    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)`

  - ### Uses of DnsName in org.minidns.dnsname

    Fields in org.minidns.dnsname declared as DnsName
    Modifier and Type | Field and Description
    --- | ---
    `static DnsName` | DnsName.`IN_ADDR_ARPA`
    `static DnsName` | DnsName.`IP6_ARPA`
    `static DnsName` | DnsName.`ROOT`

    Methods in org.minidns.dnsname that return DnsName
    Modifier and Type | Method and Description
    --- | ---
    `static DnsName` | DnsName.`from(CharSequence name)`
    `static DnsName` | DnsName.`from(DnsLabel grandchild, DnsLabel child, DnsName parent)`
    `static DnsName` | DnsName.`from(DnsLabel child, DnsName parent)`
    `static DnsName` | DnsName.`from(DnsName... nameComponents)`
    `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)`
    `static DnsName` | DnsName.`from(String[] parts)`
    `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)`

    Methods in org.minidns.dnsname with parameters of type DnsName
    Modifier and Type | Method and Description
    --- | ---
    `int` | DnsName.`compareTo(DnsName other)`
    `static DnsName` | DnsName.`from(DnsLabel grandchild, DnsLabel child, DnsName parent)`
    `static DnsName` | DnsName.`from(DnsLabel child, DnsName parent)`
    `static DnsName` | DnsName.`from(DnsName... nameComponents)`
    `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)`
    `boolean` | DnsName.`isDirectChildOf(DnsName parent)`

  - ### Uses of DnsName in org.minidns.record

    Fields in org.minidns.record declared as DnsName
    Modifier and Type | Field and Description
    --- | ---
    `DnsName` | SOA.`mname` The domain name of the name server that was the original or primary source of data for this zone.
    `DnsName` | SRV.`name` Deprecated. use `SRV.target` instead.
    `DnsName` | RRWithTarget.`name` Deprecated. `RRWithTarget.target` instead.
    `DnsName` | Record.`name` The generic name of this record.
    `DnsName` | MX.`name` Deprecated. use `MX.target` instead.
    `DnsName` | NSEC.`next` The next owner name that contains a authoritative data or a delegation point.
    `DnsName` | SOA.`rname` A domain name which specifies the mailbox of the person responsible for this zone.
    `DnsName` | RRSIG.`signerName` The owner name of the DNSKEY RR that a validator is supposed to use.
    `DnsName` | SRV.`target` The target server.
    `DnsName` | RRWithTarget.`target`
    `DnsName` | MX.`target` The name of the target server.

    Methods in org.minidns.record that return DnsName
    Modifier and Type | Method and Description
    --- | ---
    `DnsName` | RRWithTarget.`getTarget()`

    Constructors in org.minidns.record with parameters of type DnsName
    Constructor and Description
    `CNAME(DnsName target)`
    `DNAME(DnsName target)`
    `MX(int priority, DnsName name)`
    `NS(DnsName name)`
    `NSEC(DnsName next, List<Record.TYPE> types)`
    `PTR(DnsName name)`
    `Record(DnsName name, Record.TYPE type, int clazzValue, long ttl, D payloadData)`
    `Record(DnsName name, Record.TYPE type, Record.CLASS clazz, long ttl, D payloadData, boolean unicastQuery)`
    `RRSIG(Record.TYPE typeCovered, DnssecConstants.SignatureAlgorithm algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, DnsName signerName, byte[] signature)`
    `RRSIG(Record.TYPE typeCovered, int algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, DnsName signerName, byte[] signature)`
    `RRWithTarget(DnsName target)`
    `SOA(DnsName mname, DnsName rname, long serial, int refresh, int retry, int expire, long minimum)`
    `SRV(int priority, int weight, int port, DnsName name)`

  - ### Uses of DnsName in org.minidns.util

    Methods in org.minidns.util that return DnsName
    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.