2023-11-28 14:41:29 +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" {>= "2.0.0"}
|
|
|
|
"ocaml" {>= "4.08.0"}
|
|
|
|
"cstruct" {>= "6.0.0"}
|
|
|
|
"dns" {= version}
|
|
|
|
"ipaddr" {>= "5.2.0"}
|
|
|
|
"lwt" {>= "4.2.1"}
|
|
|
|
"tcpip" {>= "7.0.0"}
|
|
|
|
]
|
|
|
|
|
|
|
|
build: [
|
|
|
|
["dune" "subst"] {dev}
|
|
|
|
["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.
|
|
|
|
"""
|
|
|
|
url {
|
2023-11-28 14:46:23 +00:00
|
|
|
src: "git+https://github.com/hannesm/ocaml-dns.git#secondary-avoid-synflood"
|
2023-11-28 14:41:29 +00:00
|
|
|
}
|