20235ad1b9143a82aa913e42ec0d5ca86afd438b
services/Whois.md
... | ... | @@ -5,17 +5,17 @@ |
5 | 5 | * Subnet assignations |
6 | 6 | * DNS root zone for `dn42.` |
7 | 7 | |
8 | -## Names and numbers |
|
8 | +# Names and numbers |
|
9 | 9 | |
10 | 10 | dn42 uses some names and numbers, which are declared in the registry. Whenever possible, we try to stick to names and numbers that do not conflict with the ICANN-net or other networks similar to dn42, for instance by using private numbers space. |
11 | 11 | |
12 | -### Address space |
|
12 | +## Address space |
|
13 | 13 | |
14 | 14 | dn42 uses **172.22.0.0/15** for IPv4. |
15 | 15 | |
16 | 16 | For IPv6, we use both ULA (that is, **fd00::/8**) and globally unique PI/PA address space of participants. ULA is prefered for various reasons, see the [FAQ](/FAQ#What-about-IPv6-in-DN42?). |
17 | 17 | |
18 | -### AS numbers |
|
18 | +## AS numbers |
|
19 | 19 | |
20 | 20 | Since June 2014, dn42 is using the **4242420000-4242429999** ASN range for allocations. This range is further subdivided: |
21 | 21 | * **4242420000-4242423999** for end-users allocations |
... | ... | @@ -26,27 +26,27 @@ If you are running a project similar to dn42, please use another range of ASN. T |
26 | 26 | |
27 | 27 | Note that currently, most AS are using one of the legacy ASN range (and will probably continue to do so, as renumbering is painful). See the [FAQ](/FAQ#Why-are-you-using-ASN-in-the-76100-76199-range?) for a discussion on AS ranges. |
28 | 28 | |
29 | -### DNS zones |
|
29 | +## DNS zones |
|
30 | 30 | |
31 | 31 | dn42 uses the `dn42.` TLD, which is not present in the root DNS zone of the ICANN-net. For details, see [[DNS]]. |
32 | 32 | |
33 | 33 | Note that other TLDs should also be usable from dn42, most notably from Freifunk and ChaosVPN. A tentative list is available at [External DNS](/services/dns/External-DNS). |
34 | 34 | |
35 | -## Web interface |
|
35 | +# Web interface |
|
36 | 36 | |
37 | 37 | Nixnodes provides a nice web interface, that allows you to **add/edit records** easily. It is available at https://io.nixnodes.net/?registry. A full guide is available at [Getting started](/Getting-started#Fill-in-the-registry). |
38 | 38 | |
39 | -### Authentication |
|
39 | +## Authentication |
|
40 | 40 | |
41 | 41 | To add or edit records with the web interface, authentication is done thanks to **maintainer objects**. Each maintainer object has a password associated to it. |
42 | 42 | |
43 | 43 | The password are not stored in cleartext in the registry: a hash is computed from the password and the name of the maintainer object. To generate such a hash (e.g. in case you forgot your password), use https://io.nixnodes.net/nctlio.php?m=dnr&gen=mypassword&mnt=MYMAINTAINER-MNT |
44 | 44 | |
45 | -### Misc |
|
45 | +## Misc |
|
46 | 46 | |
47 | 47 | A read-only interface is also available at http://ix.ucis.dn42/dn42/ ([public](http://ix.ucis.nl/dn42/) or 172.22.166.3). The used PHP scripts are available from UFO a.k.a. Ivo at request. |
48 | 48 | |
49 | -## DNS interface |
|
49 | +# DNS interface |
|
50 | 50 | |
51 | 51 | There is also a DNS-based interface to query AS information from the registry. The DNS zone is `asn.dn42`. Example: |
52 | 52 | |
... | ... | @@ -57,17 +57,17 @@ The Python code for generating the zone from the registry is available on the mo |
57 | 57 | |
58 | 58 | The idea comes from the guys at cymru.com, who provide this service for the Internet (e.g. `AS1.asn.cymru.com`), see https://www.team-cymru.org/Services/ip-to-asn.html#dns |
59 | 59 | |
60 | -## Address space |
|
60 | +# Address space |
|
61 | 61 | |
62 | 62 | There is nice 3djs visualisation showing current address space usage: http://dataviz.polynome.dn42/dn42-netblock-visu/registry.html ([public](http://109.24.208.244:8888/dn42-netblock-visu/registry.html) or 172.23.184.98). The input data is taken from the registry. |
63 | 63 | |
64 | 64 | Another visualisation shows the prefixes seen by BGP: http://dataviz.polynome.dn42/dn42-netblock-visu/index.html ([public](http://109.24.208.244:8888/dn42-netblock-visu/index.html) or 172.23.184.98). |
65 | 65 | |
66 | -## Software |
|
66 | +# Software |
|
67 | 67 | |
68 | 68 | * [[lglass]] is a python implementation for working with the registry. It features a whois server, tools to manipulate the data (DNS zone generation, etc). |
69 | 69 | |
70 | -## Whois daemons |
|
70 | +# Whois daemons |
|
71 | 71 | |
72 | 72 | We have anycast IPv4 and IPv6, both reachable under whois.dn42. IPs are 172.22.0.43 respective fd42:d42:d42:43::1. Please consider joining these anycast-adresses when you setup your server. Updates every 1 hour would be nice for a start. |
73 | 73 | |
... | ... | @@ -78,12 +78,12 @@ We have anycast IPv4 and IPv6, both reachable under whois.dn42. IPs are 172.22.0 |
78 | 78 | | nixnodes | whois.nixnodes.dn42 | 172.22.177.77 | |
79 | 79 | | prauscher | sheldon.prauscher.dn42 | 172.22.120.1 | |
80 | 80 | |
81 | -### Usage |
|
81 | +## Usage |
|
82 | 82 | ```sh |
83 | 83 | whois -h $host $query |
84 | 84 | ``` |
85 | 85 | |
86 | -### Using a whois config |
|
86 | +## Using a whois config |
|
87 | 87 | |
88 | 88 | ```sh |
89 | 89 | $ cat /etc/whois.conf |
... | ... | @@ -105,7 +105,7 @@ fd**:****:****:****:****:****:****:**** whois.dn42 |
105 | 105 | |
106 | 106 | You can then use whois without specifying the server. Works at least with Marco d'Itri's whois client. |
107 | 107 | |
108 | -### Running your own whoisd |
|
108 | +## Running your own whoisd |
|
109 | 109 | ```sh |
110 | 110 | cd /home/some/path/to/store/branch |
111 | 111 | sudo aptitude install ruby rubygems |
... | ... | @@ -114,12 +114,12 @@ cd whoisd/ruby |
114 | 114 | sudo ruby whoisd.rb nobody |
115 | 115 | ``` |
116 | 116 | |
117 | -## Monotone |
|
117 | +# Monotone |
|
118 | 118 | Monotone is an distributed revision control system. Monotone tracks revisions to files, groups sets of revisions into changesets, and tracks history across renames. The design principle is distributed operation making heavy use of cryptographic primitives to track file revisions (via the SHA-1 secure hash) and to authenticate user actions (via RSA cryptographic signatures). Each participant maintains their own revision history store in a local SQLite database. Monotone is especially strong in its support of a diverge/merge workflow, which it achieves in part by always allowing commit before merge. Revisions are exchanged using the custom netsync protocol which shares some conceptual ground with rsync and cvs. |
119 | 119 | * [Website](http://monotone.ca/) |
120 | 120 | * [Tutorial](http://monotone.ca/docs/Tutorial.html) |
121 | 121 | |
122 | -### Monotone servers |
|
122 | +## Monotone servers |
|
123 | 123 | |
124 | 124 | | Person | Address | Status | |
125 | 125 | |----------|----------------------------------------|--------| |
... | ... | @@ -129,10 +129,10 @@ Monotone is an distributed revision control system. Monotone tracks revisions to |
129 | 129 | | xuu | mtn.xuu.dn42 (172.22.141.131) | UP | |
130 | 130 | | zorun | mtn.polyno.me / mtn.polynome.dn42 (172.23.184.71| UP | |
131 | 131 | |
132 | -### Monotone branches |
|
132 | +## Monotone branches |
|
133 | 133 | * net.dn42.registry: Contains the registry and some related code |
134 | 134 | |
135 | -### Client setup |
|
135 | +## Client setup |
|
136 | 136 | ```sh |
137 | 137 | mtn genkey [email protected] |
138 | 138 | mtn pubkey [email protected] # send the output to some $monotone_server operator (do NOT send the keypair!) |
... | ... | @@ -144,7 +144,7 @@ mtn ci -k [email protected] |
144 | 144 | mtn sync |
145 | 145 | ``` |
146 | 146 | |
147 | -### Server setup |
|
147 | +## Server setup |
|
148 | 148 | |
149 | 149 | Debian has a package "monotone-server", with config located in "/etc/monotone". |
150 | 150 |