Package org.xbill.DNS
Class DNAMERecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.DNAMERecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
DNAME Record - maps a nonterminal alias (subtree) to a different domain
- Author:
- Brian Wellington
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDNAMERecord(Name name, int dclass, long ttl, Name alias) Creates a new DNAMERecord with the given data -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Deprecated.protected NameGets the target of the DNAME Recordprotected voidrdataFromString(Tokenizer st, Name origin) Converts the text format of an RR to the internal format - must be overridenprotected voidrrFromWire(DNSInput in) Converts the type-specific RR to wire format - must be overriddenprotected StringConverts the type-specific RR to text format - must be overridden.protected voidrrToWire(DNSOutput out, Compression c, boolean canonical) Converts the type-specific RR to wire format - must be overridden.Methods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
-
Field Details
-
singleName
-
-
Constructor Details
-
DNAMERecord
Creates a new DNAMERecord with the given data- Parameters:
alias- The name to which the DNAME alias points
-
-
Method Details
-
getTarget
Gets the target of the DNAME Record -
getAlias
Deprecated.useRecord.getName()Gets the name of this record, aka the alias or label to the delegation name specified ingetTarget(). -
rrFromWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWirein classRecord- Throws:
IOException
-
rdataFromString
Description copied from class:RecordConverts the text format of an RR to the internal format - must be overriden- Specified by:
rdataFromStringin classRecord- Throws:
IOException
-
rrToString
Description copied from class:RecordConverts the type-specific RR to text format - must be overridden.- Specified by:
rrToStringin classRecord
-
getSingleName
-
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden.
-
Record.getName()