public class CNAME extends RRWithTarget
name, target
Constructor and Description |
---|
CNAME(DnsName target) |
CNAME(String target) |
Modifier and Type | Method and Description |
---|---|
Record.TYPE |
getType()
The payload type.
|
static CNAME |
parse(DataInputStream dis,
byte[] data) |
getTarget, serialize, toString
equals, hashCode, length, toByteArray, toOutputStream
public static CNAME parse(DataInputStream dis, byte[] data) throws IOException
IOException
public Record.TYPE getType()
Data