It&#x27;s a 12 byte header + the query section, which is 4 bytes + the qname, a sequence of labels. Each label is a length octet + the ascii encoded characters of the label. A query for &quot;us&quot; would be 12 + 4 (02 75 73 00) + 4 = 20 bytes, plus the IP header (20 bytes) + the UDP header (8 bytes), so 48 bytes.<p><a href="https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc768.txt" rel="nofollow">https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc768.txt</a><p><a href="https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc791.txt" rel="nofollow">https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc791.txt</a><p><a href="https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc1035.txt" rel="nofollow">https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc1035.txt</a>