org.xbill.DNS
Class DNAMERecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.DNAMERecord
- All Implemented Interfaces:
- Cloneable, Comparable
public class DNAMERecord
- extends Record
DNAME Record - maps a nonterminal alias (subtree) to a different domain
- Author:
- Brian Wellington
Constructor Summary |
DNAMERecord(Name name,
int dclass,
long ttl,
Name alias)
Creates a new DNAMERecord with the given data |
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, toString, toWire, toWireCanonical, unknownToString, withName |
singleName
protected Name singleName
DNAMERecord
public DNAMERecord(Name name,
int dclass,
long ttl,
Name alias)
- Creates a new DNAMERecord with the given data
- Parameters:
alias
- The name to which the DNAME alias points
getTarget
public Name getTarget()
- Gets the target of the DNAME Record
getAlias
public Name getAlias()
- Gets the alias specified by the DNAME Record
getSingleName
protected Name getSingleName()