dns.wire
writer:patch_u16(offset, val)
offset
val
Overwrite 2 bytes at a 0-based offset (for header fixups)
Patches 2 bytes at the given 0-based wire offset. Typically used to fill in section counts in the DNS header after all sections have been written.