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 sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.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 ]) Pervasives.result

Parse the output of to_string

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