From Namecoin DNS

Jump to: navigation, search


Tor : Manage onion websites


The purpose of tor/ is to manage onion websites and have a separate specification from the big domain names specification.

It'll contain an simple onion address in a json format to allow future updates of the specification.


  • namespace : tor/
  • name :

Name is a lowercase string, which begins with tor/, followed by the domain name. Namecoin enabled resolvers will append the default TLD (.tor) to the name specified here.


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

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


Fecthing tor data from the "khal" record :

$ namecoind name_show tor/khal
   "onion"    : "dsozuxvbdtqgd.onion",


Namecoin resolvers (nmcontrol or nmcsocks) could do a redirect to the .onion address or forward requests to the running tor server on your computer.

Personal tools