Dns.Mx
Mail exchange
A mail exchange (MX) record specifies the mail server where mail for this domain should be delivered to. A domain may have multiple MX records, each has a 16bit preference.
type t = {
preference : int;
mail_exchange : [ `host ] Domain_name.t;
}
The type of a mail exchange.
val pp : t Fmt.t
pp ppf t pretty-prints the mail exchange.
pp ppf t
val compare : t -> t -> int
compare a b compares the name and preference of a with b.
compare a b
a
b