<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<br>
<div>
<div>On 21 Aug 2013, at 11:29, Willem Toorop <<a href="mailto:willem@NLnetLabs.nl">willem@NLnetLabs.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hi Gagandeep,<br>
<br>
Ondřej is right, it would be helpful if you tell a bit more about the<br>
kind of name server you wish to create.<br>
<br>
That said, ldns might be appropriate for small and simple nameservers<br>
that do something peculiar (and are not for production purposes). Within<br>
the examples section of the ldns source code is a simple fake nameserver<br>
tool for testing and debugging: ldns-testns. We use it in unbounds unit<br>
tests and also in experimental setups (for example in our Path MTU<br>
black-holes research). You could study its source to get you started.<br>
</blockquote>
</div>
<br>
<div>With apologies for resurrecting an old thread, you can find the "evldns" package I wrote for creating small bespoke  DNS servers that uses ldns and libevent at <<a href="https://code.google.com/p/evldns/">https://code.google.com/p/evldns/</a>>.</div>
<div><br>
</div>
<div>It's good for servers where you can compute a response synchronously in real-time.  Hence no good (yet) for recursive servers, but you can already do some pretty funky stuff with it.</div>
<div><br>
</div>
<div>Ray</div>
<div><br>
</div>
</body>
</html>