org.xbill.DNS
Class CNAMERecord

java.lang.Object
  |
  +--org.xbill.DNS.Record
        |
        +--org.xbill.DNS.NS_CNAME_PTRRecord
              |
              +--org.xbill.DNS.CNAMERecord

public class CNAMERecord
extends NS_CNAME_PTRRecord

CNAME Record - maps an alias to its real name


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
Constructor Summary
CNAMERecord(Name _name, short _dclass, int _ttl, Name _target)
          Creates a new CNAMERecord with the given data
 
Methods inherited from class org.xbill.DNS.NS_CNAME_PTRRecord
getTarget, toString
 
Methods inherited from class org.xbill.DNS.Record
equals, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, getWireLength, hashCode, newRecord, newRecord, newRecord, toWire, toWireCanonical, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CNAMERecord

public CNAMERecord(Name _name,
                   short _dclass,
                   int _ttl,
                   Name _target)
            throws IOException
Creates a new CNAMERecord with the given data
Parameters:
target - The name to which the CNAME alias points