org.xbill.DNS
Class DNAMERecord

java.lang.Object
  extended by org.xbill.DNS.Record
      extended by org.xbill.DNS.DNAMERecord
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class DNAMERecord
extends Record

DNAME Record - maps a nonterminal alias (subtree) to a different domain

Author:
Brian Wellington
See Also:
Serialized Form

Field Summary
protected  Name singleName
           
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
DNAMERecord(Name name, int dclass, long ttl, Name alias)
          Creates a new DNAMERecord with the given data
 
Method Summary
 Name getAlias()
          Gets the alias specified by the DNAME Record
protected  Name getSingleName()
           
 Name getTarget()
          Gets the target of the DNAME Record
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

singleName

protected Name singleName
Constructor Detail

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
Method Detail

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()


Copyright © 2014. All Rights Reserved.