Package org.xbill.DNS
Class DNAMERecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.SingleNameBase
org.xbill.DNS.DNAMERecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
DNAME Record - maps a nonterminal alias (subtree) to a different domain
- See Also:
-
Field Summary
Fields inherited from class org.xbill.DNS.SingleNameBase
singleName -
Constructor Summary
ConstructorsConstructorDescriptionDNAMERecord(Name name, int dclass, long ttl, Name alias) Creates a new DNAMERecord with the given data -
Method Summary
Methods inherited from class org.xbill.DNS.SingleNameBase
getSingleName, rdataFromString, rrFromWire, rrToString, rrToWireMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
DNAMERecord
DNAMERecord() -
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().
-
Record.getName()