From Namecoin DNS
List of domain names specs
- Domain names v1.0 - April 2011
This is the original domain spec announced by vinced when he released namecoin. It supports ip address, nameserver forwarding and subdomains.
- Domain names v2.0 - Not finalized yet
Stable domain spec built from the draft.
Always in progress draft spec with new ideas.
Name is a lowercase string, which begins with d/, followed by the domain name. Namecoin enabled resolvers will append the default TLD (.bit) to the name specified here.
d/example => example.bit
The IDNA standard encoding is used for internationalized domain names. This means that Unicode names need to be converted to ASCII compatible encoding according to IDNA, before registration. This can be done using the idn command-line tool:
$ idn -p Nameprep ŝtelo xn--telo-u5a
Also, only valid domain names are allowed, which means characters other than lowercase letters, numerics and dash are not allowed, as well as names longer than 63 letters and names starting with a dash.
(Note: However, since this is a measure against compatibility issues with DNS, names consisting of all numeric values and underscore can be discussed.)
Value is an UTF–8 encoded JSON Object with a maximum size of 1023 bytes, where all entries are case-sensitive.
Look out to properly escape the value field (or check the syntax here) when using windows.