package domain-name
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=9ec7ae2c22772c150b84cfa3f21d9bf25fae14a796f31e20df52d86f46499d89
sha512=923acab434ebb197f44075711030fd1b7f61783e20cc6f74387ce0acf1bc5f48eb8a8a5e29d3440e7c249ab00673e250ddfdc7e53d71c5a1613f1dbb557c0ae1
Description
A domain name is a sequence of labels separated by dots, such as foo.example
.
Each label may contain any bytes. The length of each label may not exceed 63
charactes. The total length of a domain name is limited to 253 (byte
representation is 255), but other protocols (such as SMTP) may apply even
smaller limits. A domain name label is case preserving, comparison is done in a
case insensitive manner.
Published: 14 Oct 2025
README
Domain-name - RFC 1035 Internet domain names
v0.5.0
A domain name is a sequence of labels separated by dots, such as foo.example
. Each label may contain any bytes. The length of each label may not exceed 63 charactes. The total length of a domain name is limited to 253 (byte representation is 255), but other protocols (such as SMTP) may apply even smaller limits. A domain name label is case preserving, comparison is done in a case insensitive manner.
The invariants on the length of domain names are preserved throughout the module.
Documentation
API documentation is available online.
Installation
You need opam installed on your system. The command
opam install domain-name
will install this library.
Dev Dependencies (1)
-
alcotest
with-test
Used by (33)
-
caqti
>= "2.0.1"
-
caqti-async
>= "2.1.1"
-
caqti-driver-pgx
>= "2.1.1"
-
caqti-lwt
>= "2.1.1"
-
caqti-mirage
>= "2.1.1"
-
colombe
< "0.2.0"
- dkim
-
dns
>= "1.1.3"
- dns-client
- dns-client-miou-unix
- dns-client-mirage
- dnssec
- facteur
-
git
>= "3.2.0"
- git-mirage
- git-paf
-
git-unix
>= "3.2.0"
- happy-eyeballs
- happy-eyeballs-lwt
- happy-eyeballs-miou-unix
- happy-eyeballs-mirage
-
ipaddr
>= "5.6.0"
- letsencrypt
- letsencrypt-dns
-
memtrace_viewer
< "v0.15.0"
- paf-cohttp
- proton
- sendmail-lwt
- sendmail-miou-unix
- sendmail-mirage
- tls
- uspf
-
x509
>= "0.7.0"
Conflicts
None