How to resolv .42 domains

Filed Under (Sysadmin) by Amandine on 29-12-2010

I’m sure you heard of the new unofficial domain registry 42registry, who let you register domains like something.42. If you didn’t, go on there website and read, cause I found this very interesting, funny, and it made me want to try :)

So, after registering sysadmandine.42 domain name, I tried to surf on it. But I didn’t want to spend time to configure a secured but open bind on one of my servers, so I opted for the easy way : my local computer is on Ubuntu, Ubuntu is perfectly able to provide me a bind, so let’s go :

$ sudo aptitude install bind9

Then one line of config like they say on the 42registry website :

$ sudo vim /etc/bind/named.conf.default-zones

add :

zone "42" IN {
type forward;
forwarders {91.191.147.246; 91.191.147.243; 79.143.243.129; 178.20.71.2; 217.174.201.33; 83.169.77.115;};
}

restart bind (surprisingly, just reload didn’t do it) :

$ sudo /etc/init.d/bind9 restart

Check that it’s working :

$ dig @localhost www.sysadmandine.42

(you have to see a ANSWER section id it’s working)

And then tell your system to use it :

$ sudo vim /etc/resolv.conf

Put this on the first line :

nameserver 127.0.0.1

That’s it ! Now you just have to open your firefox or any other browser (be careful with chrome or chromium though, ther’s a trick to make it work with those ones, check the 42registry website to know how.), and try some domains !
* http://www.sysadmandine.42/ (of course)
* http://nic.42/
* I couldn’t find more websites in .42, do you know some?