Resolver_mirageFunctorial interface for resolving URIs to endpoints.
val static : (string, port:int -> Conduit.endp) Hashtbl.t -> Resolver_lwt.tstatic hosts constructs a resolver that looks up any resolution requests from the static hosts hashtable instead of using the system resolver.
val localhost : Resolver_lwt.tlocalhost is a static resolver that has a single entry that maps localhost to 127.0.0.1, and fails on all other hostnames.
module type S = sig ... endModule allowing to build a Resolver_lwt than can perform DNS lookups.
Given a DNS resolver implementation, provide a Resolver_lwt that can perform DNS lookups to return endpoints.
module Make_with_stack
(T : Mirage_time_lwt.S)
(S : Mirage_stack_lwt.V4) :
sig ... endProvides a DNS-enabled Resolver_lwt given a network stack. See Make.