package dns

  1. Overview
  2. Docs
An opinionated Domain Name System (DNS) library

Install

Dune Dependency

Authors

Maintainers

Sources

dns-10.0.0.tbz
sha256=74f3bd063bd313452ba712ab9ad80fae07d5ff6b86fc4f5677f04d61232d1702
sha512=df97f4cd06beb52cc622f1226e32dc5fda126fe92b880a71a9a43b0bab4412349e1d262d67bad345cee809dce47b4841faca2bd6f6002ef059e3d41cd950c0cd

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 for a more detailed overview.

Published: 13 Feb 2025

Dependencies (13)

  1. base64 >= "3.3.0"
  2. ohex >= "0.2.0"
  3. metrics
  4. duration >= "0.1.2"
  5. lru >= "0.3.0"
  6. ipaddr >= "5.2.0"
  7. gmap >= "0.3.0"
  8. domain-name >= "0.4.0"
  9. fmt >= "0.8.8"
  10. ptime
  11. logs
  12. ocaml >= "4.13.0"
  13. dune >= "2.0.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (15)

  1. dns-certify = "10.0.0"
  2. dns-cli = "10.0.0"
  3. dns-client = "10.0.0"
  4. dns-client-lwt = "10.0.0"
  5. dns-mirage = "10.0.0"
  6. dns-resolver = "10.0.0"
  7. dns-server = "10.0.0"
  8. dns-stub = "10.0.0"
  9. dns-tsig = "10.0.0"
  10. dnssec = "10.0.0"
  11. git-mirage >= "3.6.0" & < "3.18.0"
  12. happy-eyeballs-lwt >= "1.0.0"
  13. letsencrypt-dns >= "1.0.0"
  14. miou
  15. uspf

Conflicts (1)

  1. result < "1.5"
OCaml

Innovation. Community. Security.