Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Module allowing to build a Resolver_lwt
than can perform DNS lookups.
module DNS : Dns_resolver_mirage.S
val vchan_resolver : tld:string -> Resolver_lwt.rewrite_fn
val dns_stub_resolver :
?ns:Ipaddr.V4.t ->
?ns_port:int ->
DNS.t ->
Resolver_lwt.rewrite_fn
dns_stub_resolver ?ns ?dns_port dns
will return a resolver that uses the stub resolver ns
on port ns_port
to resolve URIs via the dns
network interface.
val register :
?ns:Ipaddr.V4.t ->
?ns_port:int ->
?stack:DNS.stack ->
Resolver_lwt.t ->
unit
register ?ns ?ns_port ?stack res
TODO
val init :
?ns:Ipaddr.V4.t ->
?ns_port:int ->
?stack:DNS.stack ->
unit ->
Resolver_lwt.t
init ?ns ?ns_port ?stack ()
TODO