package dns-forward
Module Dns_forward.Resolver
A Resolver converts a DNS query into an optional DNS response.
module type S = sig ... endmodule Make
(Client : Rpc.Client.S)
(Time : Mirage_time_lwt.S)
(Clock : Mirage_clock_lwt.MCLOCK) :
S with type clock = Clock.tConstruct a DNS resolver which will use the given Client Implementation to contact upstream servers, and the given Time implementation to handle timeouts.