package dns

  1. Overview
  2. Docs

A DNS answer, consisting of the answer and authority sections.

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.

OCaml

Innovation. Community. Security.