package domain-name

  1. Overview
  2. Docs
[RFC 1035](https://tools.ietf.org/html/rfc1035) Internet domain names

Install

Dune Dependency

Authors

Maintainers

Sources

domain-name-0.1.0.tbz
sha256=161e4576b08a5194df9e39a34fe440b3d313a5e3019d3301d57703330db6f2b1
md5=022ddef71c50706dee4c799494b3a61d

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.

The invariants on the length of domain names are preserved throughout the module.

Published: 26 Jun 2018

README

Domain-name - RFC 1035 Internet domain names

0.1.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.

OCaml

Innovation. Community. Security.