public class CNAMERecord extends SingleCompressedNameBase
singleName
Constructor and Description |
---|
CNAMERecord() |
CNAMERecord(Name name,
int dclass,
long ttl,
Name alias)
Creates a new CNAMERecord with the given data
|
Modifier and Type | Method and Description |
---|---|
Name |
getAlias()
Deprecated.
use
Record.getName() |
Name |
getTarget()
Gets the target of the CNAME Record
|
rrToWire
getSingleName, rdataFromString, rrFromWire, rrToString
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
public Name getTarget()
@Deprecated public Name getAlias()
Record.getName()
getTarget()
.