Recently in OpenBSD Category

The new Pseudo TLD .bue

| 2 Comments | 1 TrackBack

I've added a new TLD zone .bue to my home router's DNS server (which runs OpenBSD on an old IBM ThinkPad T20) and forwarded all its subdomains to my webserver (the server, which also runs this blog):

* IN CNAME host.0.buetow.org.

And I've added the following mod_rewrite rule to the Apache of my webserver host.0.buetow.org:

RewriteCond %{HTTP_HOST} ^(.*?)\.bue$ [NC]
RewriteRule ^.*$ http://%1.buetow.org/ [L]

This rule forwards all *.bue hosts to its *.buetow.org counterparts! E.g. science.bue will become science.buetow.org! (or you may use sc.bue, which will become sc.buetow.org, which will become science.buetow.org).

This way, I can reach all my sites faster, without bookmarking anything etc. If you want to take advantage of it, you need to edit the DNS server you use or, if you are using an *NIX operating system, you can add the desired hostnames to your /etc/hosts file! The entry for sc.bue and science.bue and screens.bue would look like this then:

85.214.66.253 sc.bue science.bue screens.bue

Well, If you have an account on my server (via labs.buetow.org aka labs.bue), you can request such a pseudo TLD for free :)

About this Archive

This page is an archive of recent entries in the OpenBSD category.

NetCalendar is the previous category.

P. B. Labs is the next category.

Find recent content on the main index or look in the archives to find all content.