package dns-forward

  1. Overview
  2. Docs
module Address : sig ... end
module Domain : sig ... end
module Server : sig ... end
type t = {
  1. servers : Server.Set.t;
    (*

    Upstream DNS servers

    *)
  2. search : string list;
    (*

    Ordered list of domains to search

    *)
  3. assume_offline_after_drops : int option;
    (*

    Once this number of drops have happened, assume the server is offline

    *)
}

A DNS configuration

include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Comparable with type t := t
val to_string : t -> string

Return a human-readable string corresponding to a configuration

val of_string : string -> (t, [ `Msg of string ]) result

Parse the output of to_string

val compare : t -> t -> int
module Unix : sig ... end
OCaml

Innovation. Community. Security.