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