<p>The algorithm of registering <code>.bit</code> domain is described, for example, on <a href="http://dot-bit.org/HowToRegisterAndConfigureBitDomains" rel="nofollow">dot-bit wiki</a>.</p>

<p>In short:</p>

<ol>
<li><p>Create new domain name with <code>name_new</code> command: <code>./namecoind name_new d/&lt;name&gt;</code></p></li>
<li><p>Wait 12 or more blocks</p></li>
<li><p>Actually register the domain with <code>name_firstupdate</code>, where <code>&lt;rand&gt;</code> is the second (shorter) hexadecimal string returned by <code>name_new</code>, and <code>&lt;json-value&gt;</code> is the domain configuration (similar to DNS record): </p></li>
</ol>

<p><code>./namecoind name_firstupdate d/&lt;name&gt; &lt;rand&gt; '&lt;json-value&gt;'</code></p>

<p>The basic <code>json-string</code>, mapping the domain to the some IP looks like that:</p>

<pre><code>'{"ip":"1.2.3.4", "tor":"123456.onion"}'
</code></pre>

<p><a href="http://dot-bit.org/Namespace%3aDomain_names_v2.0#Value_field" rel="nofollow">More on domain configuration</a></p>

CC BY-SA 3.0
2012-12-09T15:30:45.363Z
I see... I didn't think this was possible when I typed `C:\namecoind_v350_win32>namecoind.exe /?`  on Windows. I'll give it a shot now.
makerofthings7
CC BY-SA 3.0
2012-12-09T13:24:12.263Z
2012-12-09T13:24:12.263Z
aland
<p>I have several namecoins and would like to register a name.  That name could either be for TOR, DNS, or any other purpose.</p>

<p>What are the steps needed to spend these coins?</p>

<namecoin><tor><dns>
How do I register a .bit domain name with Namecoin?
makerofthings7
# How do I register a .bit domain name with Namecoin?

(Asked by: username_0 on 2012-12-09)

I have several namecoins and would like to register a name. That name could either be for TOR, DNS, or any other purpose.

What are the steps needed to spend these coins?

**Tags:** namecoin, tor, dns


---

## 1 answers

### Answer by username_1 on 2012-12-09. Score: 4 | Accepted answer

The algorithm of registering `.bit` domain is described, for example, on [dot-bit wiki](http://dot-bit.org/HowToRegisterAndConfigureBitDomains).

In short:

1. Create new domain name with `name_new` command: `./namecoind name_new d/<name>`
2. Wait 12 or more blocks
3. Actually register the domain with `name_firstupdate`, where `<rand>` is the second (shorter) hexadecimal string returned by `name_new`, and `<json-value>` is the domain configuration (similar to DNS record):

`./namecoind name_firstupdate d/<name> <rand> '<json-value>'`

The basic `json-string`, mapping the domain to the some IP looks like that:

```
'{"ip":"1.2.3.4", "tor":"123456.onion"}'

```

[More on domain configuration](http://dot-bit.org/Namespace%3aDomain_names_v2.0#Value_field)

> **Comments:**
> **username_0**: I see... I didn't think this was possible when I typed `C:\namecoind_v350_win32>namecoind.exe /?`  on Windows. I'll give it a shot now.  

---

