Greetings,

I have also embarked on a similar project.
BIND is bloated, memory management was not a programming priority apparently, and its cache design is laughable. Asides from that its works fine. :)
DJBDNS is another kettle of fish - its FAST, its pretty secure, and its smart -- But DJB has this really nasty habit of deciding all/part of an RFC is "stupid" and just doesn't bother implementing it, to hell with anyone else who actually expects DNS servers to be RFC compliant.

My server also uses Net::DNS, however its somewhat more expansive with "intelligent caching" (self lookups when load is low on his tasks, dropping off least used cache entries when the cache is full, that kind of stuff), the zones are SQL based and centralised, removing the requirement for zone transfers, dig their own root servers, random junk.
Works REALLY nice, except Net::DNS is painfully slow, which makes it quite useless in practice. Net::DNS is written entirely in perl, which is wonderful for educational purposes, but unfortunately pointless for real service - and Net::DNS hasn't been touched in a few years, if I remember correctly... Oh well

Anyone want to rewrite Net::DNS, and this time in C? :P

JP,
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --


In reply to Re: dns server in perl by JPaul
in thread dns server in perl by amir

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.