org.xbill.DNS
Class PTRRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.NS_CNAME_PTRRecord
org.xbill.DNS.PTRRecord
- All Implemented Interfaces:
- Cloneable, Comparable
- public class PTRRecord
- extends NS_CNAME_PTRRecord
Pointer Record - maps a domain name representing an Internet Address to
a hostname.
- Author:
- Brian Wellington
Constructor Summary |
PTRRecord(Name name,
int dclass,
int ttl,
Name target)
Creates a new PTR Record 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, rdataToWireCanonical, remainingStrings, toString, toWire, toWireCanonical, withName |
PTRRecord
public PTRRecord(Name name,
int dclass,
int ttl,
Name target)
- Creates a new PTR Record with the given data
- Parameters:
target
- The name of the machine with this address