dns

An opinionated Domain Name System (DNS) library
Library dns
Module Dns . Opcode
type t =
| Query
| IQuery
| Status
| Notify
| Update(*

The type of opcodes.

*)
val pp : t Fmt.t

pp ppf opcode pretty-prints the opcode on ppf.

val compare : t -> t -> int

compare a b compares the opcode a with b, using the RFC-specified integer representation of each opcode.