package dns-client
Pure DNS resolver API
Install
Dune Dependency
Authors
Maintainers
Sources
dns-v5.0.1.tbz
sha256=72c0a1a91c8e409bd448c8e0ea28d16d13177c326aea403ee1c30ddcb5969adc
sha512=f5067d4ef6aca863bd06e6721a63a03da80052ab8e361440e72fae07ca45773763e0321236c6810afe80bd679d68763dc63fb57aec2e953173cc9a944785c93c
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.
The Dns_client
is available as Dns_client_lwt after linking to dns-client.lwt in your dune file.
It initializes the RNG (using Mirage_crypto_rng_lwt.initialize ()).
Source
module Transport :
Dns_client.S
with type io_addr = Ipaddr.t * 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 ->
?nameserver:Transport.ns_addr ->
?timeout: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)"
>