package dns

  1. Overview
  2. Docs

Name server

A name server (NS) record specifies authority over the domain. Each domain may have multiple name server records, at least two.

type t = [ `host ] Domain_name.t

The type of a nameserver record.

val pp : t Fmt.t

pp ppf t pretty-prints the nameserver.

val compare : t -> t -> int

compare a b compares the nameserver a with b.