package domain-name

  1. Overview
  2. Docs
RFC 1035 Internet domain names

Install

Dune Dependency

Authors

Maintainers

Sources

domain-name-0.4.0.tbz
sha256=a5c06e22845895201973e812fe3019274d1db81c0a7873da6c8007c4ad2108c5
sha512=f25aedb1ddf6ab8c49b1545cf88f4990114a9e7954d91cabf260e6ce470abd42dd135e8a55084262a77d4c9ee4bff6dc00c71307b23a48d82d50593b910ee173

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: 07 Jan 2022

README

Domain-name - RFC 1035 Internet domain names

v0.4.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.

Dependencies (2)

  1. dune
  2. ocaml >= "4.04.2"

Dev Dependencies (1)

  1. alcotest with-test

Conflicts

None