2021-01-06 13:39:14 +00:00
|
|
|
opam-version: "2.0"
|
|
|
|
maintainer: "team AT robur dot io"
|
|
|
|
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
|
|
|
|
homepage: "https://github.com/mirage/ocaml-dns"
|
|
|
|
doc: "https://mirage.github.io/ocaml-dns/"
|
|
|
|
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
|
|
|
|
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
|
|
|
|
license: "BSD-2-Clause"
|
|
|
|
|
|
|
|
depends: [
|
|
|
|
"dune" {>= "1.2.0"}
|
|
|
|
"ocaml" {>= "4.07.0"}
|
|
|
|
"dns" {= version}
|
|
|
|
"ipaddr" {>= "4.0.0"}
|
|
|
|
"lwt" {>= "4.2.1"}
|
|
|
|
"mirage-stack" {>= "2.2.0"}
|
|
|
|
]
|
|
|
|
|
|
|
|
build: [
|
|
|
|
["dune" "subst"] {pinned}
|
|
|
|
["dune" "build" "-p" name "-j" jobs]
|
|
|
|
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
|
|
]
|
|
|
|
|
|
|
|
synopsis: "An opinionated Domain Name System (DNS) library"
|
|
|
|
description: """
|
|
|
|
µDNS supports most of the domain name system used in the wild. It adheres to
|
|
|
|
strict conventions. Failing early and hard. It is mostly implemented in the
|
|
|
|
pure fragment of OCaml (no mutation, isolated IO, no exceptions).
|
|
|
|
|
|
|
|
Legacy resource record types are not dealt with, and there is no plan to support
|
|
|
|
`ISDN`, `MAILA`, `MAILB`, `WKS`, `MB`, `NULL`, `HINFO`, ... . `AXFR` is only
|
|
|
|
handled via TCP connections. The only resource class supported is `IN` (the
|
|
|
|
Internet). Truncated hmac in `TSIG` are not supported (always the full length
|
|
|
|
of the hash algorithm is used).
|
|
|
|
|
|
|
|
Please read [the blog article](https://hannes.nqsb.io/Posts/DNS) for a more
|
|
|
|
detailed overview.
|
|
|
|
"""
|
2021-01-22 10:18:36 +00:00
|
|
|
url { src: "git+https://github.com/mirage/ocaml-dns.git#master" }
|