<?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>bert hubert finally blogs: Looking for a house, 1.4 billion queries, PowerDNS crosses over</title>
    <link>http://blog.netherlabs.nl/articles/2006/04/27/looking-for-a-house-1-4-billion-queries-powerdns-crosses-over</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>code, musings and more</description>
    <item>
      <title>Looking for a house, 1.4 billion queries, PowerDNS crosses over</title>
      <description>&lt;p&gt;We&amp;#8217;ve been looking for a new house lately, but this has not been easy. The Netherlands has been experiencing a housing bubble for the past decade, so even a small house costs an arm and a leg.  A number of possible places were sold in the brief period between making an appointment and actually going round to visit. Very frustrating.&lt;/p&gt;

&lt;h2&gt;1.4 billion queries&lt;/h2&gt;

&lt;p&gt;I started an endurance test some time ago to really stress out the recursor. This test has now reached 1.4 billion queries. This means we still have 3 billion queries to go to hit the magic 2^32.&lt;/p&gt;

&lt;p&gt;PowerDNS 3.0.1 appears to hold up well. There are some small problems on big endian platforms (ultrasparc), which are solved in subversion, and I uncovered an obscure form of misconfiguration (having a nameserver with multiple IP addresses, one of them being lame) we didn&amp;#8217;t deal with. Other nameservers don&amp;#8217;t either, so it doesn&amp;#8217;t really matter. See if you can resolve &amp;#8216;www.nl.netherlabs.eu&amp;#8217;. If you can, chances are you are running a very recent PowerDNS :-)&lt;/p&gt;

&lt;h2&gt;Crossing over&lt;/h2&gt;

&lt;p&gt;The PowerDNS recursor is a pure recursor, or at least, used to be. I literally spent years thinking (on and off) about how to make PowerDNS authoritative and recursive at the same time without losing the clean design and today I figured out how to do it.&lt;/p&gt;

&lt;p&gt;It turned out the proper way is to insert a hook in the call that figures out the best nameserver to ask a question. If we are authoritative for a domain, we send back an empty nameserver which means &amp;#8216;we know, don&amp;#8217;t go out&amp;#8217;.&lt;/p&gt;

&lt;p&gt;When the time comes to go ask that nameserver, the emptiness is recognized, and a call is made to the &amp;#8216;out of band&amp;#8217; resolver. This delivers a vector of DNSResourceRecords, just like a remote nameserver would. The rest of PowerDNS does not &amp;#8216;know&amp;#8217; it is parsing self-generated data.&lt;/p&gt;

&lt;p&gt;This has the downside that we cache our own data. But compared to the elegance of keeping the rest of the nameserver unchanged, this is a small price to pay.&lt;/p&gt;

&lt;p&gt;In the same place, we can also insert a &amp;#8216;forwarder&amp;#8217; nameserver, whereby we can point a domain towards an external authoritative nameserver.&lt;/p&gt;

&lt;p&gt;Finally, built on the authoritative infrastructure, I added &amp;#8216;&amp;#8211;export-etc-hosts&amp;#8217;. Quite a number of people have asked me if there were an easy way to have their recursor serve a small number of domains. There is an obvious place to get this data, &lt;code&gt;/etc/hosts&lt;/code&gt;. &amp;#8216;&amp;#8211;export-etc-hosts&amp;#8217; does the obvious and generates full zones for each entry in &lt;code&gt;/etc/hosts&lt;/code&gt;, making them available for all your clients.&lt;/p&gt;

&lt;p&gt;This in turn means that a large number of people now have no reason anymore not to run the PowerDNS recursor, and benefit from its performance and superior anti-spoofing measures :-)&lt;/p&gt;

&lt;p&gt;To test, head to &lt;a href="http://mailman.powerdns.com/pipermail/pdns-users/2006-April/003305.html"&gt;this posting to the mailing list&lt;/a&gt; and download away!&lt;/p&gt;</description>
      <pubDate>Thu, 27 Apr 2006 21:31:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:ff6957b3-ee69-4ddb-b1e5-2948739ab2d1</guid>
      <author>bert.hubert@netherlabs.nl (bert hubert)</author>
      <link>http://blog.netherlabs.nl/articles/2006/04/27/looking-for-a-house-1-4-billion-queries-powerdns-crosses-over</link>
      <category>Linux</category>
      <category>PowerDNS</category>
      <category>Netherlabs</category>
      <category>Life</category>
      <trackback:ping>http://blog.netherlabs.nl/articles/trackback/70</trackback:ping>
    </item>
    <item>
      <title>"Looking for a house, 1.4 billion queries, PowerDNS crosses over" by hydrocodone</title>
      <description>Hello all really cool blog
&lt;a href="http://www.alprazolam-drug-info.com"&gt;alprazolam&lt;/a&gt; &lt;a href="http://www.fioricet-drug-info.com"&gt;fioricet&lt;/a&gt; &lt;a href="http://www.hydrocodone-drug-info.com"&gt;hydrocodone&lt;/a&gt; &lt;a href="http://www.vicodin-drug-info.com"&gt;vicodin&lt;/a&gt; &lt;a href="http://www.tramadol-drug-info.com"&gt;tramadol&lt;/a&gt; &lt;a href="http://www.xanax-drug-info.com"&gt;xanax&lt;/a&gt; &lt;a href="http://www.valium-drug-info.com"&gt;valium&lt;/a&gt; &lt;a href="http://www.ultram-drug-info.com"&gt;ultram&lt;/a&gt; &lt;a href="http://www.soma-drug-info.com"&gt;soma&lt;/a&gt; &lt;a href="http://www.carisoprodol-drug-info.com"&gt;carisoprodol&lt;/a&gt; &lt;a href="http://www.ambien-drug-info.com"&gt;ambien&lt;/a&gt; &lt;a href="http://www.ativan-drug-info.com"&gt;ativan&lt;/a&gt; &lt;a href="http://www.lorazepam-drug-info.com"&gt;lorazepam&lt;/a&gt; &lt;a href="http://www.propecia-drug-info.com"&gt;propecia&lt;/a&gt; &lt;a href="http://www.adipex-drug-info.com"&gt;adipex&lt;/a&gt; &lt;a href="http://www.didrex-drug-info.com"&gt;didrex&lt;/a&gt; &lt;a href="http://www.cialis-drug-info.com"&gt;cialis&lt;/a&gt; &lt;a href="http://www.levitra-drug-info.com"&gt;levitra&lt;/a&gt; &lt;a href="http://www.paxil-drug-info.com"&gt;paxil&lt;/a&gt; &lt;a href="http://www.meridia-drug-info.com"&gt;meridia&lt;/a&gt; &lt;a href="http://www.viagra-drug-info.com"&gt;viagra&lt;/a&gt; &lt;a href="http://www.wellbutrin-drug-info.com"&gt;wellbutrin&lt;/a&gt; &lt;a href="http://www.clonazepam-drug-info.com"&gt;clonazepam&lt;/a&gt; &lt;a href="http://www.xenical-drug-info.com"&gt;xenical&lt;/a&gt; &lt;a href="http://www.prozac-drug-info.com"&gt;prozac&lt;/a&gt; &lt;a href="http://www.butalbital-drug-info.com"&gt;butalbital&lt;/a&gt; &lt;a href="http://www.phentermine-drug-info.com"&gt;phentermine&lt;/a&gt;
&lt;a href="http://www.buy-ativan-online-rx.com"&gt;buy ativan&lt;/a&gt; &lt;a href="http://www.buy-adipex-online-rx.com"&gt;buy adipex&lt;/a&gt; &lt;a href="http://www.buy-didrex-online-rx.com"&gt;buy didrex&lt;/a&gt; &lt;a href="http://www.buy-levitra-online-rx.com"&gt;buy levitra&lt;/a&gt; &lt;a href="http://www.buy-cialis-online-rx.com"&gt;buy cialis&lt;/a&gt; &lt;a href="http://www.buy-phentermine-online-rx.com"&gt;buy phentermine&lt;/a&gt; &lt;a href="http://www.buy-soma-online-rx.com"&gt;buy soma&lt;/a&gt; &lt;a href="http://www.buy-tramadol-online-rx.com"&gt;buy tramadol&lt;/a&gt; &lt;a href="http://www.buy-diazepam-online-rx.com"&gt;buy diazepam&lt;/a&gt; &lt;a href="http://www.buy-carisoprodol-online-rx.com"&gt;buy carisoprodol&lt;/a&gt; &lt;a href="http://www.buy-meridia-online-rx.com"&gt;buy meridia&lt;/a&gt; &lt;a href="http://www.buy-paxil-online-rx.com"&gt;buy paxil&lt;/a&gt; &lt;a href="http://www.buy-valium-online-rx.com"&gt;buy valium&lt;/a&gt; &lt;a href="http://www.buy-xanax-online-rx.com"&gt;buy xanax&lt;/a&gt; &lt;a href="http://www.buy-ultram-online-rx.com"&gt;buy ultram&lt;/a&gt; &lt;a href="http://www.buy-fioricet-online-rx.com"&gt;buy fioricet&lt;/a&gt; &lt;a href="http://www.usa-tooth-whitening.com"&gt;tooth whitening&lt;/a&gt; &lt;a href="http://www.getpharmacyonline.com"&gt;online pharmacy&lt;/a&gt; &lt;a href="http://www.alprazolam-rx.com/alprazolam.html"&gt;alprazolam&lt;/a&gt; &lt;a href="http://www.car-insurance-tonight.com"&gt;car insurance&lt;/a&gt; &lt;a href="http://www.payday-loan-tonight.com"&gt;payday loan&lt;/a&gt; &lt;a href="http://www.newweb-directory.com"&gt;web directory&lt;/a&gt; &lt;a href="http://www.newbusiness-directory.com"&gt;business directory&lt;/a&gt; &lt;a href="http://www.carisoprodol.happyhost.org"&gt;carisoprodol&lt;/a&gt; &lt;a href="http://www.cheap-hydrocodone.com"&gt;hydrocodone&lt;/a&gt; &lt;a href="http://www.buy-vicodin-online-rx.com"&gt;buy vicodin&lt;/a&gt;
</description>
      <pubDate>Sun, 08 Oct 2006 09:01:05 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:98d6d5d8-d7e1-4a1b-b8f6-0afb0bdb2f25</guid>
      <link>http://blog.netherlabs.nl/articles/2006/04/27/looking-for-a-house-1-4-billion-queries-powerdns-crosses-over#comment-8899</link>
    </item>
    <item>
      <title>"Looking for a house, 1.4 billion queries, PowerDNS crosses over" by Mirjam</title>
      <description>Hello dear, I finaly blog as well (again)!  </description>
      <pubDate>Fri, 05 May 2006 09:45:07 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:d59dff6e-4d7e-4570-9817-b5c941c27ca0</guid>
      <link>http://blog.netherlabs.nl/articles/2006/04/27/looking-for-a-house-1-4-billion-queries-powerdns-crosses-over#comment-237</link>
    </item>
  </channel>
</rss>
