OptionaldecodeOptionaldnssecRequest DNSSec records. Currently
requires json: false.
OptionaldnssecDisable DNSSEC
OptionalidThe 2-byte unsigned integer for the request. For DOH, should be 0 or undefined.
OptionalnameName to look up.
OptionalrrtypeThe Resource Record type to retrive.
OptionalstreamEncode for streaming, with the packet prefixed by a 2-byte big-endian integer of the number of bytes in the packet.
Decode the response, either into JSON or an object representing the DNS format result.