|
|
= DNS Headers =
<br />
{| class="wikitable" style="margin: 0 auto; text-align:center; width:80%;"
|+TCP Header
|-
| colspan="16"| Source port || colspan="16"| Destination port
|-
| colspan="32"| Sequence number
|-
| colspan="32"| Acknowledgment number (if <tt>ACK</tt> set)
|-
| colspan="4"| Data offset || colspan="3"| Reserved<br><tt>'''0 0 0'''</tt> || cellpadding="1"|<tt>N<br>S</tt>|||<tt>C<br>W<br>R</tt>|||<tt>E<br>C<br>E</tt>|||<tt>U<br>R<br>G</tt>|||<tt>A<br>C<br>K</tt>|||<tt>P<br>S<br>H</tt>|||<tt>R<br>S<br>T</tt>|||<tt>S<br>Y<br>N</tt>|||<tt>F<br>I<br>N</tt>|| colspan="16"| Window Size ▼
|-
| colspan="16"| Checksum || colspan="16" | Urgent pointer (if <tt>URG</tt> set)
|-
| colspan="32" style="background:#ffd0d0;"| Options (if ''data offset'' > 5. Padded at the end with "0" bytes if necessary.)<br />...
|}
<br />
<br />
|+DNS Header
|-
▲| colspan=" 416"| Data offsetIdentification || colspan=" 31"| Reserved<br><tt>'''0QR 0|| 0'''</tt>colspan="4"| Opcode || cellpadding="1"|<tt> NA<br> SA</tt>|||<tt> CT<br> W<br>RC</tt>|||<tt> ER<br> C<br>ED</tt>|||<tt >U<br>R<br >G</tt>|||<tt>A <br>C<br>K</tt>|||<tt> P<br>S<br>HZ</tt>|||<tt> RA<br> S<br>TD</tt>|||<tt> SC<br> Y<br>N</tt>|||<tt>F<br>I<br>ND</tt>|| colspan=" 164"| Window SizeRCode
| colspan="16"| Identification || colspan="16"| Destination port
|-
| colspan="16"| Total Questions || colspan="16"| Total Answers
|