package dns-client
DNS resolver API
Install
Dune Dependency
Authors
Maintainers
Sources
dns-6.4.0.tbz
sha256=00472d566bbfd66da13642eab5fade12fde56b20dd7ac5c50415b88d052d6175
sha512=0ddeee4a155852c7ffa619de603e54dabe9ec315b79e4a1cb22a13884f9d3893458f1fa3c7b97f2eda60b29f1bfa401e53d531d8ded1089dcd8497ffa3ad1afb
doc/dns-client.unix/Dns_client_unix/index.html
Module Dns_client_unix
Source
Unix
helper module for Dns_client
. For more information see the Dns_client.Make
functor.
It initializes the RNG (using Mirage_crypto_rng_unix.initialize ()).
Source
module Transport :
Dns_client.S
with type io_addr = Ipaddr.t * int
and type stack = unit
and type +'a io = 'a
A flow module based on blocking I/O on top of the Unix socket API.
include sig ... end
Source
val create :
?cache_size:int ->
?edns:[ `Auto | `Manual of Dns.Edns.t | `None ] ->
?nameservers:(Dns.proto * Transport.io_addr list) ->
?timeout:int64 ->
Transport.stack ->
t
Source
val getaddrinfo :
t ->
'response Dns.Rr_map.key ->
'a Domain_name.t ->
('response, [> `Msg of string ]) result Transport.io
Source
val gethostbyname :
t ->
[ `host ] Domain_name.t ->
(Ipaddr.V4.t, [> `Msg of string ]) result Transport.io
Source
val gethostbyname6 :
t ->
[ `host ] Domain_name.t ->
(Ipaddr.V6.t, [> `Msg of string ]) result Transport.io
Source
val get_resource_record :
t ->
'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
Source
val get_raw_reply :
t ->
'response Dns.Rr_map.key ->
'a Domain_name.t ->
(Dns.Packet.reply, [> `Msg of string | `Partial ]) result Transport.io
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>