dns-forward

Library and tools for creating forwarding DNS servers
IN THIS PACKAGE
Module Dns_forward . Config
module Address : sig ... end
module Domain : sig ... end
module Server : sig ... end
type t = {
servers : Server.Set.t;(*

Upstream DNS servers

*)
search : string list;(*

Ordered list of domains to search

*)
assume_offline_after_drops : int option;(*

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

*)
}

A DNS configuration

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