package dns-client
Pure DNS resolver API
Install
Dune Dependency
Authors
Maintainers
Sources
dns-v4.4.1.tbz
sha256=c8b2a49485c7a1bed06c3be47c80c6e865728e3f6658407e179bc5099c4c80a1
sha512=f9997cf9bbe4705ff9d49b3b69300cf5eec12c79bec68e32e20c0356e10fb9e7a150b08e627e429d2eaaf35befcdbabc738dff8535a763e7c57d825d006e21ea
doc/dns-client.lwt/Dns_client_lwt/index.html
Module Dns_client_lwt
Source
Lwt_unix
helper module for Dns_client
. For more information see the Dns_client.Make
functor.
Source
module Transport :
Dns_client.S
with type flow = Lwt_unix.file_descr
and type io_addr = Lwt_unix.inet_addr * int
and type +'a io = 'a Lwt.t
and type stack = unit
A flow module based on non-blocking I/O on top of the Lwt_unix socket API.
include sig ... end
Source
val create :
?size:int ->
?rng:(int -> Cstruct.t) ->
?nameserver:Transport.ns_addr ->
clock:(unit -> int64) ->
Transport.stack ->
t
Source
val getaddrinfo :
t ->
?nameserver:Transport.ns_addr ->
'response Dns.Rr_map.key ->
'a Domain_name.t ->
('response, [> `Msg of string ]) result Transport.io
Source
val gethostbyname :
t ->
?nameserver:Transport.ns_addr ->
[ `host ] Domain_name.t ->
(Ipaddr.V4.t, [> `Msg of string ]) result Transport.io
Source
val gethostbyname6 :
t ->
?nameserver:Transport.ns_addr ->
[ `host ] Domain_name.t ->
(Ipaddr.V6.t, [> `Msg of string ]) result Transport.io
Source
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>