dns.message
encode_header(w, hdr, qdcount, ancount, nscount, arcount)
w
hdr
qdcount
ancount
nscount
arcount
Encode a DNS header into a writer