package mnet-dns

  1. Overview
  2. Docs
An implementation of DNS in OCaml for Miou & Solo5

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mnet-0.0.8.tbz
sha256=07233e57f836eadd9566dbc2c7e81a0da058c52c40e8cf38eb9b2f178a9fa537
sha512=e190d793c9950a85e3fc8865f26a222c2763ad8f2c2972cfb5fe10926f2ecc39d75b4f970065cafa9526c4d1edb8b3574dd4b37893fca6de144fe7ced4a23bb0

doc/mnet-dns.cli/Mnet_dns_cli/index.html

Module Mnet_dns_cliSource

Sourcetype nameserver = [
  1. | `Tls of Tls.Config.client * Ipaddr.t * int
  2. | `Plaintext of Ipaddr.t * int
]
Sourceval nameservers : ?default:(Dns.proto * nameserver) list -> unit -> (Dns.proto * nameserver) list Cmdliner.Term.t
Sourceval setup : ?default:(Dns.proto * nameserver) list -> unit -> (Dns.proto * nameserver list) Cmdliner.Term.t

setup_nameservers aggregates nameservers and verify if all of them use the same protocol (see Dns.proto) or not. It fails if one of the given nameserver uses a different protocol from the others.