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.5.tbz
sha256=ebc621ad01b33a7f96fd049e71bbd06ef95c1a6b36d4072fd15fd35c1a93dc17
sha512=8d47f9434bc6472703f55f819bea21a7deb12095d925f0f8fbb8b96b799473b62a8b302966f579792354aa256b9109dcc16851f5cf951002d35a7d70bca59135

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.