| Package | Description | 
|---|---|
| io.netty.handler.codec.dns | DNS codec information for writing to and reading from a DNS server. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DnsQueryHeaderThe DNS query header class which is used to represent the 12 byte header in a
  DnsQuery. | 
| class  | DnsResponseHeaderThe DNS response header class which is used when receiving data from a DNS
 server. | 
| Modifier and Type | Method and Description | 
|---|---|
| DnsHeader | DnsMessage. header()Returns the header belonging to this message. | 
| protected abstract DnsHeader | DnsMessage. newHeader(int id) | 
| DnsHeader | DnsHeader. setId(int id)Sets the id for this  DnsMessage. | 
| DnsHeader | DnsHeader. setOpcode(int opcode)Sets the opcode for this  DnsMessage. | 
| DnsHeader | DnsResponseHeader. setRecursionDesired(boolean recursionDesired) | 
| DnsHeader | DnsHeader. setRecursionDesired(boolean recursionDesired)Sets whether a name server is directed to pursue a query recursively or
 not. | 
| DnsHeader | DnsHeader. setType(int type)Sets the  DnsMessagetype. | 
| DnsHeader | DnsHeader. setZ(int z)Sets the field Z. | 
Copyright © 2008–2015 The Netty Project. All rights reserved.