dns-write

dns-write is a compiled Lisp function in `dns.el'.

(dns-write SPEC &optional TCP-P)

Write a DNS packet according to SPEC.
If TCP-P, the first two bytes of the package with be the length field.