<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>No Content, No Fuss: Deens, welcome to the Internet!</title>
    <link>http://anil.recoil.org/blog/articles/2006/12/30/deens-welcome-to-the-internet</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Anil Madhavapeddy</description>
    <item>
      <title>Deens, welcome to the Internet!</title>
      <description>&lt;p&gt;Inspired by finishing my PhD corrections (!) today, I decided to hook up the DNS server from our &lt;a href="http://melange.recoil.org/"&gt;Melange&lt;/a&gt; project up to the Internet.  The authoritative server is called &lt;a href="http://melange.recoil.org/trac/browser/apps/deens/"&gt;deens&lt;/a&gt; (since the co-author is one &lt;a href="http://www.tjd.phlegethon.org/"&gt;Tim Deegan&lt;/a&gt;, geddit?), and is written in pure &lt;a href="http://caml.inria.fr/"&gt;OCaml&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This is all rather experimental, to put it mildly, but I stuck in the zone file below, hooked it up as a delegate to our main name-servers, checked it against the &lt;a href="http://www.dnsreport.com/tools/dnsreport.ch?domain=deens.recoil.org"&gt;DNS Report&lt;/a&gt;, and it all seems to be working!&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ORIGIN deens.recoil.org. ;
$TTL    240
deens.recoil.org. 604800 IN SOA  (
    deens.recoil.org. anil.recoil.org.
    2006122401 3600 1800 3024000 1800
)
        IN  NS     ns1.deens.recoil.org.
        IN  NS     deensns.recoil.org.
ns1     IN  A      194.70.3.132
dynamic IN  CNAME  dynamic.recoil.org.
static  IN  CNAME  static.recoil.org.
anil    IN  CNAME  dynamic
stats   IN  CNAME  dynamic
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I also modified &lt;a href="http://stats.recoil.org/"&gt;stats.recoil.org&lt;/a&gt; to be an alias to &lt;em&gt;stats.deens.recoil.org&lt;/em&gt;, so all the requests for that domain will go via the deens setup.  You actually need a user/pass to access the site, but that doesn't matter; if it gets that far, the DNS bit has worked.&lt;/p&gt;

&lt;p&gt;There's still an awful lot of tedious work to get the server into a production-ready state, such as proper logging, more error handling and recovery, etc., but I really hope to find the time in 2007 to polish this up somewhat.  Performance is excellent already; faster than &lt;a href="http://www.isc.org/bind/"&gt;BIND&lt;/a&gt; by quite a lot, and it can optionally use more memory to cache responses to shoot up to crazy levels.&lt;/p&gt;

&lt;p&gt;Incidentally, the &lt;a href="http://melange.recoil.org/trac/browser/apps/mldig/"&gt;dig replacement&lt;/a&gt; utility also seems to be working fairly well, and &lt;a href="http://dave.recoil.org/"&gt;David Scott&lt;/a&gt; has been messing around with a &lt;a href="http://www.apple.com/macosx/features/bonjour/"&gt;Bonjour&lt;/a&gt; implementation that will get finished sometime in 2007 as well (honest!).&lt;/p&gt;</description>
      <pubDate>Sat, 30 Dec 2006 01:11:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:fa0b4534-23b5-4166-b078-d29a1a43f3ca</guid>
      <author>anil@recoil.org (Anil Madhavapeddy)</author>
      <link>http://anil.recoil.org/blog/articles/2006/12/30/deens-welcome-to-the-internet</link>
      <category>research</category>
      <category>hacking</category>
      <category>net</category>
    </item>
  </channel>
</rss>
