package domain-name

  1. Overview
  2. Docs
RFC 1035 Internet domain names

Install

Dune Dependency

Authors

Maintainers

Sources

domain-name-v0.2.1.tbz
sha256=b86ec83dc94a1257f7a7d151adbd0d49fbeaebedb6f650efda4bb0f72af7a1d6
sha512=f251d04780bf622cf7be305063c55cfa25340938be2080c2989444465ef5c77be9fee9d0db343c17ca970bf90faa2c76b7c400db92ac8c4d2b680da46488c349

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: 30 Jun 2019

README

Domain-name - RFC 1035 Internet domain names

v0.2.1

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.

OCaml

Innovation. Community. Security.