DomainName
A module to describe Internet domain names, together with some useful functions (such as finding if a domain is the subdomain of another).
This module does not implement the DNS protocol, it its only for domain names, independently of how they are used.
It was mostly created for the Drink server (see its ticket #45) so it is not sure it is generally useful. Try if you want.
There is currently no IDN support.
Installation
If available in Hex, the package can be installed
by adding domainname to your list of dependencies in mix.exs:
def deps do
[
{:domainname, "~> 0.1.0"}
]
endFuture work
- Add IDN support
- Add support for the Public Suffic List, may be using domainatrex.