Difference between revisions of "Namecoin"

From Organic Design wiki
m (See also)
(Configuring your local DNS to resolve .bit domains)
Line 32: Line 32:
  
 
Then after twelve blocks (which could take a few hours or more - check the current block [http://explorer.dot-bit.org/stats/block_count.txt here]) register the name (you'll need a small NMC balance for this). This example shows a mapping of the naked domain and all subdomains to the Organic Design servers IP address. The hex number is the shorter of the two returned from the previous reservation command.
 
Then after twelve blocks (which could take a few hours or more - check the current block [http://explorer.dot-bit.org/stats/block_count.txt here]) register the name (you'll need a small NMC balance for this). This example shows a mapping of the naked domain and all subdomains to the Organic Design servers IP address. The hex number is the shorter of the two returned from the previous reservation command.
{{code|<pre>namecoind name_firstupdate d/organicdesign 9f213ff4a582fd65 '{"ip":"69.64.87.188","map":{"*":{"alias":""},}}'</pre>}}
+
{{code|<pre>namecoind name_firstupdate d/organicdesign 9f213ff4a582fd65 '{"map":{"":"69.64.87.188","*":"69.64.87.188"}}'</pre>}}
  
  
Line 42: Line 42:
 
{{code|<pre>{
 
{{code|<pre>{
 
     "name" : "d/organicdesign",
 
     "name" : "d/organicdesign",
     "value" : "{\"ip\":\"69.64.87.188\",\"map\":{\"*\":{\"alias\":\"\"},}}",
+
     "value" : "{\"map\":{\"\":\"69.64.87.188\",\"*\":\"69.64.87.188\"}}",
 
     "txid" : "c7b968a68e83937f1b149b4374fdd968bd383d57f854381aab81f1ce26942377",
 
     "txid" : "c7b968a68e83937f1b149b4374fdd968bd383d57f854381aab81f1ce26942377",
 
     "address" : "Mw8iR8UkobpV5armgxg1Y2Q2V3Y7VAYuNv",
 
     "address" : "Mw8iR8UkobpV5armgxg1Y2Q2V3Y7VAYuNv",
 
     "expires_in" : 35989
 
     "expires_in" : 35989
 
}</pre>}}
 
}</pre>}}
 +
 +
 +
=== Configuring your local DNS to resolve .bit domains ===
 +
The easiest way to allow your local system to resolve ''dotBit'' domain name is to change your network settings to use a [http://dot-bit.org/HowToBrowseBitDomains#List_of_DNS_servers dotBit DNS server]. I used ''dns.bit'' (178.32.31.41), some of the other servers in the list are no longer active.
  
 
== See also ==
 
== See also ==

Revision as of 16:33, 12 August 2012

Namecoin.png

Namecoin is a peer-to-peer generic name/value datastore system based on the bitcoin technology (a decentralizedCryptocurrency). Namecoin allows you to securely register names (domains for example) with no possible censorship, and trade namecoins, the digital currency NMC.

Dot-BIT, the first project using namecoin, is building a domain name system (DNS) using the .bit top-level-domain (TLD). Their goal is to spread .bit domains by providing resources and tools to the community, from developers to end users.

It is very useful to build the DNS system into the currency system because both are prone to corruption and control when they require a central authority to manage them. By making these decentralised and removing the requirement for a central authority we can have the foundation of a secure private internet and domain-name system which has the payment and registration system built in to it.

Namecoin exchanges

The best way to get namecoins is with bitcoins since it's still very early days for namecoin which means there's not much support for buying them with standard currencies like there is with bitcoin.

Installation and usage

Currently it's all done in shell with the namecoind daemon.

Namecoin domain names

Manual name registration example

First reserve the name,

namecoind name_new d/organicdesign


This will output something like the following,

[
  "0e0e03510b0b0b7dbba6e301e519693f68062121b29f3cd3a6652c238360d0d0",
  "9f213ff4a582fd65"
]


Then after twelve blocks (which could take a few hours or more - check the current block here) register the name (you'll need a small NMC balance for this). This example shows a mapping of the naked domain and all subdomains to the Organic Design servers IP address. The hex number is the shorter of the two returned from the previous reservation command.

namecoind name_firstupdate d/organicdesign 9f213ff4a582fd65 '{"map":{"":"69.64.87.188","*":"69.64.87.188"}}'


This may take a few blocks time to take effect, but when it does you'll be able to get info on it:

namecoind name_show d/organicdesign


Which will return something like the following:

{
    "name" : "d/organicdesign",
    "value" : "{\"map\":{\"\":\"69.64.87.188\",\"*\":\"69.64.87.188\"}}",
    "txid" : "c7b968a68e83937f1b149b4374fdd968bd383d57f854381aab81f1ce26942377",
    "address" : "Mw8iR8UkobpV5armgxg1Y2Q2V3Y7VAYuNv",
    "expires_in" : 35989
}


Configuring your local DNS to resolve .bit domains

The easiest way to allow your local system to resolve dotBit domain name is to change your network settings to use a dotBit DNS server. I used dns.bit (178.32.31.41), some of the other servers in the list are no longer active.

See also