Basic DNS packet type.
module Qd : sig ... end
module Rr : sig ... end
type t
=
{
id : int16;
flags : int16;
questions : Qd.t list;
answers : Rr.t list;
authority : Rr.t list;
additional : Rr.t list;
}
include sig ... end
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t ‑> t
val sexp_of_t : t ‑> Ppx_sexp_conv_lib.Sexp.t
val serialize : t ‑> Cstruct.t
serialize dns_pkt serializes dns_pkt into a bit sequence, suitable for placing in a UDP or TCP payload.
serialize dns_pkt
dns_pkt