Packages that use DnsName
Package
Description
DNS message structures with wire-format parsing and serialization (no transport), from the MiniDNS 1.0.0 core subset (see
org.minidns). DNS name parsing, validation and comparison, from the MiniDNS 1.0.0 core subset (see
org.minidns). DNS resource record types (A, AAAA, NS, SOA, MX, TXT, SRV and the DNSSEC records) with wire-format parsing, from the MiniDNS 1.0.0 core subset (see
org.minidns). Byte, hex and network helper classes, from the MiniDNS 1.0.0 core subset (see
org.minidns).Uses of DnsName in org.minidns.dnsmessage
Fields in org.minidns.dnsmessage declared as DnsNameConstructors in org.minidns.dnsmessage with parameters of type DnsNameModifierConstructorDescriptionQuestion(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) Create a question from its components.Uses of DnsName in org.minidns.dnsname
Classes in org.minidns.dnsname that implement interfaces with type arguments of type DnsNameFields in org.minidns.dnsname declared as DnsNameModifier and TypeFieldDescriptionstatic final DnsNameDnsName.IN_ADDR_ARPAThe reverse lookup zone for IPv4 addresses.static final DnsNameDnsName.IP6_ARPAIP6_ARPA.static final DnsNameDnsName.ROOTThe root name, written as a lone dot.Methods in org.minidns.dnsname that return DnsNameModifier and TypeMethodDescriptionstatic DnsNameDnsName.from(CharSequence name) Wraps a name given in presentation format.static DnsNameDnsName.from(CharSequence child, DnsName parent) Places one text label directly under the given parent name.static DnsNameWraps a name given in presentation format.static DnsNameBuilds a name from labels supplied top-level first.static DnsNamePlaces a two-label run under the given parent name.static DnsNamePlaces one label directly under the given parent name.static DnsNameJoins any number of names into a single one with a dot between them.static DnsNameCreate a DNS name by "concatenating" the child under the parent name.DnsName.getParent()Return the parent of this DNS label.private static DnsNameParse a domain name starting at the given offset.static DnsNameDnsName.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 occur).DnsName.stripToLabels(int labelCount) Discards labels to the left, keeping only the rightmost few.Methods in org.minidns.dnsname with parameters of type DnsNameModifier and TypeMethodDescriptionintOrders names by their ACE form.static DnsNameDnsName.from(CharSequence child, DnsName parent) Places one text label directly under the given parent name.static DnsNamePlaces a two-label run under the given parent name.static DnsNamePlaces one label directly under the given parent name.static DnsNameJoins any number of names into a single one with a dot between them.static DnsNameCreate a DNS name by "concatenating" the child under the parent name.booleanTests whether this name sits below the given parent at any depth.booleanDnsName.isDirectChildOf(DnsName parent) Tests whether exactly one label of this name sits above the given parent.Uses of DnsName in org.minidns.record
Fields in org.minidns.record declared as DnsNameModifier and TypeFieldDescriptionfinal DnsNameSOA.mnameThe domain name of the name server that was the original or primary source of data for this zone.final DnsNameRecord.nameThe generic name of this record.final DnsNameNSEC.nextThe next owner name that contains a authoritative data or a delegation point.final DnsNameSOA.rnameA domain name which specifies the mailbox of the person responsible for this zone.final DnsNameRRSIG.signerNameThe owner name of the DNSKEY RR that a validator is supposed to use.final DnsNameMX.targetThe name of the target server.final DnsNameRRWithTarget.targetThe target domain nameMethods in org.minidns.record that return DnsNameModifier and TypeMethodDescriptionfinal DnsNameRRWithTarget.getTarget()Gets the owner name this record's rdata is anchored to.Constructors in org.minidns.record with parameters of type DnsNameModifierConstructorDescriptionCreate a CNAME record from a DnsName target.Create a record redirecting a subtree from an already parsed name.Builds a record from a preference and an exchanger name.Creates a record delegating the zone to one name server.NSEC(DnsName next, List<Record.TYPE> types) Builds a record from a next owner name and its type list.(package private)Create a PTR record pointing at an already parsed domain name.Record(DnsName name, Record.TYPE type, int clazzValue, long ttl, D payloadData) Create a new record with a raw class value.privateRecord(DnsName name, Record.TYPE type, Record.CLASS clazz, int clazzValue, long ttl, D payloadData, boolean unicastQuery) Builds a record from its fields.Record(DnsName name, Record.TYPE type, Record.CLASS clazz, long ttl, D payloadData, boolean unicastQuery) Create a new record.RRSIG(Record.TYPE typeCovered, int algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, DnsName signerName, byte[] signature) Create an RRSIG payload.privateRRSIG(Record.TYPE typeCovered, DnssecConstants.SignatureAlgorithm algorithm, byte algorithmByte, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, DnsName signerName, byte[] signature) Builds a record from its parsed fields.RRSIG(Record.TYPE typeCovered, DnssecConstants.SignatureAlgorithm algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, DnsName signerName, byte[] signature) Create an RRSIG payload.protectedRRWithTarget(DnsName target) Anchors this record's rdata to the given owner name.Create an SOA record from already parsed names.Builds an SRV record from an already-parsed target hostname.Uses of DnsName in org.minidns.util
Methods in org.minidns.util that return DnsNameModifier and TypeMethodDescriptionstatic DnsNameInetAddressUtil.reverseIpAddressOf(Inet4Address inet4Address) Creates the reverse DNS name for the given IPv4 address.static DnsNameInetAddressUtil.reverseIpAddressOf(Inet6Address inet6Address) Creates the reverse DNS name for the given IPv6 address.