package dns

  1. Overview
  2. Docs
exception Dns_resolve_timeout
exception Dns_resolve_error of exn list
module type CLIENT = sig ... end

The type of pluggable DNS resolver modules for request contexts and custom metadata and wire protocols.

module Client : CLIENT

The default DNS resolver using the standard DNS protocol

module type SERVER = sig ... end

The type of pluggable DNS server modules for request contexts and custom metadata dn wire protocols.

module Server : SERVER with type context = Packet.t

The default DNS server using the standard DNS protocol

val contain_exc : string -> (unit -> 'a) -> 'a option