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.
|
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.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
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