dns

An opinionated Domain Name System (DNS) library
Library dns
Module Dns . Packet . Ixfr
type t = Soa.t * [ `Empty | `Full of Name_rr_map.t | `Difference of Soa.t * Name_rr_map.t * Name_rr_map.t ]

The type of an incremental zone transfer between two serials, consisting of the new start of authority and:

  • Empty, if there are no changes
  • Full zone transfer, same as AXFR
  • Difference, with the old start of authority, the resource record sets to be removed, and the resource record sets to be added.
val pp : t Fmt.t

pp ppf t pretty-prints the incremental zone transfer t on ppf.

val equal : t -> t -> bool

equal a b compares the incremental zone transfer a with b, and is true if they are the same.