Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Transport : sig ... end
type t = Dns_client.Make(Transport).t
val nameserver : t -> Transport.ns_addr
val getaddrinfo :
t ->
?nameserver:Transport.ns_addr ->
'response Dns.Rr_map.key ->
'a Domain_name.t ->
('response, [> `Msg of string ]) result Transport.io
val gethostbyname :
t ->
?nameserver:Transport.ns_addr ->
[ `host ] Domain_name.t ->
(Ipaddr.V4.t, [> `Msg of string ]) result Transport.io
val gethostbyname6 :
t ->
?nameserver:Transport.ns_addr ->
[ `host ] Domain_name.t ->
(Ipaddr.V6.t, [> `Msg of string ]) result Transport.io
val get_resource_record :
t ->
?nameserver:Transport.ns_addr ->
'response Dns.Rr_map.key ->
'a Domain_name.t ->
('response,
[> `Msg of string
| `No_data of [ `raw ] Domain_name.t * Dns.Soa.t
| `No_domain of [ `raw ] Domain_name.t * Dns.Soa.t ])
result
Transport.io
val create : ?size:int -> ?nameserver:Transport.ns_addr -> Stack.t -> t