Package org.xbill.DNS
Class PTRRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.SingleNameBase
org.xbill.DNS.SingleCompressedNameBase
org.xbill.DNS.PTRRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
Pointer Record - maps a domain name representing an Internet Address to a hostname.
- See Also:
-
Field Summary
Fields inherited from class org.xbill.DNS.SingleNameBase
singleName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.xbill.DNS.SingleCompressedNameBase
rrToWireMethods inherited from class org.xbill.DNS.SingleNameBase
getSingleName, rdataFromString, rrFromWire, rrToStringMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
PTRRecord
PTRRecord() -
PTRRecord
Creates a new PTR Record with the given data- Parameters:
target- The name of the machine with this address
-
-
Method Details
-
getTarget
Gets the target of the PTR Record
-