dns

An opinionated Domain Name System (DNS) library
Library dns
Module Dns . Packet . Answer

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.

val is_empty : t -> bool

is_empty t is true if t is empty, false otherwise.

val pp : t Fmt.t

pp ppf t pretty-prints the answer t on 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.