package dns-resolver

  1. Overview
  2. Docs

Parameters

module R : Mirage_random.S
module T : Mirage_time.S

Signature

val resolver : S.t -> ?root:bool -> ?timer:int -> ?port:int -> Dns_resolver.t -> unit

resolver stack ~root ~timer ~port resolver registers a caching resolver on the provided port (both udp and tcp) using the resolver configuration. The timer is in milliseconds and defaults to 500 milliseconds.

OCaml

Innovation. Community. Security.