arpa/nameser.h — Construct and inspect DNS requests
The arpa/nameser.h
header file contains the definitions used to support the
construction of queries and the inspection of answers received from a Domain Name Server available
in a network. It also contains the macros GETSHORT(), PUTSHORT(), GETLONG(), and PUTLONG() that are
used to construct or inspect DNS requests.