package dns-client

  1. Overview
  2. Docs

Parameters

Signature

module Uflow : Dns_client_flow.S with type flow = S.TCPV4.flow and type io_addr = Ipaddr.V4.t * int and type +'a io = 'a Lwt.t and type stack = S.t
include sig ... end
val create : ?rng:(int -> Cstruct.t) -> ?nameserver:Uflow.ns_addr -> Uflow.stack -> Uflow.t
val nameserver : Uflow.t -> Uflow.ns_addr
val getaddrinfo : Uflow.t -> ?nameserver:Uflow.ns_addr -> 'response Dns.Rr_map.key -> 'a Domain_name.t -> ('response, [> `Msg of string ]) result Uflow.io
val gethostbyname : Uflow.t -> ?nameserver:Uflow.ns_addr -> [ `host ] Domain_name.t -> (Ipaddr.V4.t, [> `Msg of string ]) result Uflow.io
val gethostbyname6 : Uflow.t -> ?nameserver:Uflow.ns_addr -> [ `host ] Domain_name.t -> (Ipaddr.V6.t, [> `Msg of string ]) result Uflow.io
OCaml

Innovation. Community. Security.