Skip to content

Commit

Permalink
[new release] dnssec, dns, dns-tsig, dns-stub, dns-server, dns-resolv…
Browse files Browse the repository at this point in the history
…er, dns-mirage, dns-client, dns-cli and dns-certify (6.2.0)

CHANGES:

* New opam package "dnssec" implementing dnssec validation (@reynir @hannesm)
* Use custom log sources, not the default one from Logs (@reynir @hannesm)
* BUGFIX dns-resolver: unlisten on the listen port, not the packet src_port
  (mirage/ocaml-dns#290 @hannesm)
* dns-resolver: add IPv6 addresses of root servers (fixes mirage/ocaml-dns#262, @hannesm)
* dns-resolver: preliminary support for DNSSec (mirage/ocaml-dns#262 @reynir @hannesm)
* dns-client: when /etc/resolv.conf modifies, update the list of nameservers
  (mirage/ocaml-dns#291 @hannesm @reynir)
* dns-cli: update to cmdliner 1.1.0 (mirage/ocaml-dns#300 @hannesm)
* dns-client-mirage: add module type and nameserver_of_string and connect to
  allow creation of a MirageOS device (mirage/ocaml-dns#297 @dinosaure)
* dns-cache: add size, capacity, and weight to metrics (mirage/ocaml-dns#301, fixes mirage/ocaml-dns#299,
  @hannesm)
  • Loading branch information
hannesm committed Mar 9, 2022
1 parent 58219b8 commit 83e4c38
Show file tree
Hide file tree
Showing 10 changed files with 489 additions and 0 deletions.
49 changes: 49 additions & 0 deletions packages/dns-certify/dns-certify.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <[email protected]>"]
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.08.0"}
"dns" {= version}
"dns-tsig" {= version}
"dns-mirage" {= version}
"randomconv" {>= "0.1.2"}
"duration" {>= "0.1.2"}
"x509" {>= "0.13.0"}
"lwt" {>= "4.2.1"}
"mirage-random" {>= "2.0.0"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"tcpip" {>= "7.0.0"}
"logs"
"mirage-crypto-ec"
"mirage-crypto-pk" {>= "0.8.0"}
"mirage-crypto-rng" {>= "0.8.0"}
]

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "MirageOS let's encrypt certificate retrieval"
description: """
A function to retrieve a certificate when providing a hostname, TSIG key, server
IP, and an optional key seed. Best used with an letsencrypt unikernel.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
59 changes: 59 additions & 0 deletions packages/dns-cli/dns-cli.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <[email protected]>"]
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.08.0"}
"cstruct" {>= "6.0.0"}
"dns" {= version}
"dns-tsig" {= version}
"dns-client" {= version}
"dns-server" {= version}
"dns-certify" {= version}
"bos" {>= "0.2.0"}
"cmdliner" {>= "1.1.0"}
"fpath" {>= "0.7.2"}
"x509" {>= "0.13.0"}
"mirage-crypto" {>= "0.8.0"}
"mirage-crypto-pk" {>= "0.8.0"}
"mirage-crypto-rng" {>= "0.8.0"}
"hex" {>= "1.4.0"}
"ptime" {>= "0.8.5"}
"mtime" {>= "1.2.0"}
"logs" {>= "0.6.3"}
"fmt" {>= "0.8.8"}
"ipaddr" {>= "4.0.0"}
"lwt" {>= "4.0.0"}
"randomconv"
"alcotest" {with-test}
]

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "Unix command line utilities using uDNS"
description: """
'oupdate' sends a DNS update frome to a DNS server that sets 'hostname A ip'.
For authentication via TSIG, a hmac secret needs to be provided.

'ocertify' updates DNS with a certificate signing request, and polls a matching
certificate. Best used with an letsencrypt unikernel.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
52 changes: 52 additions & 0 deletions packages/dns-client/dns-client.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Joe Hill"]
homepage: "https://github.com/mirage/ocaml-dns"
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
license: "BSD-2-Clause"

build: [
[ "dune" "subst"] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]

depends: [
"dune" {>="1.2.0"}
"ocaml" {>= "4.08.0"}
"cstruct" {>= "6.0.0"}
"fmt" {>= "0.8.8"}
"logs" {>= "0.6.3"}
"dns" {= version}
"randomconv" {>= "0.1.2"}
"domain-name" {>= "0.4.0"}
"ipaddr" {>= "5.3.0"}
"lwt" {>= "4.2.1"}
"tcpip" {>= "7.0.0"}
"mirage-random" {>= "2.0.0"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mtime" {>= "1.2.0"}
"mirage-crypto-rng" {>= "0.8.0"}
"happy-eyeballs" {>= "0.1.0"}
"alcotest" {with-test}
"tls" {>= "0.15.0"}
"tls-mirage" {>= "0.15.0"}
"x509" {>= "0.16.0"}
"ca-certs"
"ca-certs-nss"
]
synopsis: "DNS resolver API"
description: """
A resolver implementation using uDNS.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
49 changes: 49 additions & 0 deletions packages/dns-mirage/dns-mirage.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <[email protected]>"]
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.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 {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
48 changes: 48 additions & 0 deletions packages/dns-resolver/dns-resolver.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <[email protected]>"]
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.08.0"}
"dns" {= version}
"dns-server" {= version}
"dns-mirage" {= version}
"dnssec" {= version}
"lru" {>= "0.3.0"}
"duration" {>= "0.1.2"}
"randomconv" {>= "0.1.2"}
"lwt" {>= "4.2.1"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-random" {>= "2.0.0"}
"tcpip" {>= "7.0.0"}
"alcotest" {with-test}
"tls" "tls-mirage"
]

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "DNS resolver business logic"
description: """
Forwarding and recursive resolvers as value-passing functions. To be used with
an effectful layer.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
48 changes: 48 additions & 0 deletions packages/dns-server/dns-server.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <[email protected]>"]
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.08.0"}
"cstruct" {>= "6.0.0"}
"dns" {= version}
"dns-mirage" {= version}
"randomconv" {>= "0.1.2"}
"duration" {>= "0.1.2"}
"lwt" {>= "4.2.1"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"tcpip" {>= "7.0.0"}
"mirage-crypto-rng" {with-test}
"alcotest" {with-test}
"dns-tsig" {with-test}
"base64" {with-test & >= "3.0.0"}
"metrics"
]

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "DNS server, primary and secondary"
description: """
Primary and secondary DNS server implemented in value-passing style. Needs an
effectful layer to be useful.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
49 changes: 49 additions & 0 deletions packages/dns-stub/dns-stub.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <[email protected]>"]
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.08.0"}
"cstruct" {>= "6.0.0"}
"dns" {= version}
"dns-client" {= version}
"dns-mirage" {= version}
"dns-resolver" {= version}
"dns-tsig" {= version}
"dns-server" {= version}
"duration" {>= "0.1.2"}
"randomconv" {>= "0.1.2"}
"lwt" {>= "4.2.1"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-random" {>= "2.0.0"}
"tcpip" {>= "7.0.0"}
"metrics"
]

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "DNS stub resolver"
description: """
Forwarding and recursive resolvers as value-passing functions. To be used with
an effectful layer.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
38 changes: 38 additions & 0 deletions packages/dns-tsig/dns-tsig.6.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
opam-version: "2.0"
maintainer: "team AT robur dot io"
authors: ["Hannes Mehnert <[email protected]>"]
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.08.0"}
"cstruct" {>= "6.0.0"}
"dns" {= version}
"mirage-crypto"
"base64" {>= "3.0.0"}
"alcotest" {with-test}
]

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

synopsis: "TSIG support for DNS"
description: """
TSIG is used to authenticate nsupdate frames using a HMAC.
"""
url {
src:
"https://github.com/mirage/ocaml-dns/releases/download/v6.2.0/dns-6.2.0.tbz"
checksum: [
"sha256=83026527e0114521c0a4b794e058b726af0f7f4eaa6b203b9d4e1a89dc981e6b"
"sha512=3ec21d29400e30ef17d09e578703f6ec3eb782bf311ad6154e8edbf35fc49cb2f45ee883ebf486ba06cc203ea3a0d8ae0263656e50d98239cf7177ac63f8d1e8"
]
}
x-commit-hash: "480fb8e69629c97cf6d4c58dab0473a6af5f516a"
Loading

0 comments on commit 83e4c38

Please sign in to comment.