Module Dns.Cname

Canonical name

A canonical name (CNAME) is an alias. host.example.com CNAME foo.com redirects all record sets of host.example.com to foo.com.

type t = [ `raw ] Domain_name.t

The type of a canonical name.

val pp : t Fmt.t

pp ppf t pretty-prints the canonical name.

val compare : t -> t -> int

compare a b compares the canonical name a and b.