org.xbill.DNS
Class PTRRecord

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

public class PTRRecord
extends NS_CNAME_PTRRecord

Pointer Record - maps a domain name representing an Internet Address to a hostname.


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
Constructor Summary
PTRRecord(Name _name, short _dclass, int _ttl, Name _target)
          Creates a new PTR Record 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

PTRRecord

public PTRRecord(Name _name,
                 short _dclass,
                 int _ttl,
                 Name _target)
          throws IOException
Creates a new PTR Record with the given data
Parameters:
target - The name of the machine with this address