public class PTR extends RRWithTarget
target| Modifier and Type | Method and Description |
|---|---|
Record.TYPE | getType()The payload type. |
static PTR | parse(DataInputStream dis,
byte[] data)Parse a PTR record from a data stream. |
getTarget, serialize, toStringequals, hashCode, length, toByteArray, toOutputStream, toOutputStreamPTR(DnsName name)
name - the domain namePTR(String name)
name - the domain namepublic Record.TYPE getType()
Datapublic static PTR parse(DataInputStream dis, byte[] data) throws IOException
dis - the data input streamdata - the raw DNS message dataIOException - if parsing fails