An opinionated Domain Name System (DNS) library
Library dns
Module Dns . Srv
type t = {
priority : int;
weight : int;
port : int;
target : [ `host ] Domain_name.t;

The type for a service record.

val pp : t Fmt.t

pp ppf t pretty-prints the service record.

val compare : t -> t -> int

compare a b compares the service record a with b.