dns
Packet.Answer
A DNS answer, consisting of the answer and authority sections.
dns.cache
type t = Name_rr_map.t * Name_rr_map.t
The type of an answer: answer and authority section, each represented as Domain_name maps with resource record sets.
val empty : t
empty is the empty answer.
empty
val is_empty : t -> bool
is_empty t is true if t is empty, false otherwise.
is_empty t
true
t
false
val pp : t Fmt.t
pp ppf t pretty-prints the answer t on ppf.
pp ppf t
ppf
val equal : t -> t -> bool
equal a b is true if the answer a contains the same resource record sets as the answer b, false otherwise.
equal a b
a
b