I want to make it from scratch, importing modules, but when I receive a message I can't find the way to send it back with the correct answer, and in the dns client (nslookup) says "no answer".<br><br><div><span class="gmail_quote">
On 7/6/06, <b class="gmail_sendername"><a href="mailto:twisted-web-request@twistedmatrix.com">twisted-web-request@twistedmatrix.com</a></b> <<a href="mailto:twisted-web-request@twistedmatrix.com">twisted-web-request@twistedmatrix.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send Twisted-web mailing list submissions to<br> <a href="mailto:twisted-web@twistedmatrix.com">
twisted-web@twistedmatrix.com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:twisted-web-request@twistedmatrix.com">twisted-web-request@twistedmatrix.com</a><br><br>You can reach the person managing the list at
<br> <a href="mailto:twisted-web-owner@twistedmatrix.com">twisted-web-owner@twistedmatrix.com</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Twisted-web digest..."
<br><br><br>Today's Topics:<br><br> 1. twisted names server ( Yunier Rojas Garc?a )<br> 2. Re: twisted names server (Stephen Thorne)<br><br><br>----------------------------------------------------------------------<br>
<br>Message: 1<br>Date: Wed, 5 Jul 2006 19:11:30 -0700<br>From: " Yunier Rojas Garc?a " <<a href="mailto:onemoverx@gmail.com">onemoverx@gmail.com</a>><br>Subject: [Twisted-web] twisted names server<br>To:
<a href="mailto:twisted-web@twistedmatrix.com">twisted-web@twistedmatrix.com</a><br>Message-ID:<br> <<a href="mailto:9f45496e0607051911p7c675637k489126fa07f77aaa@mail.gmail.com">9f45496e0607051911p7c675637k489126fa07f77aaa@mail.gmail.com
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>can anyone please tell me how can I make a simple dns server using<br>twisted.names?<br>-------------- next part --------------<br>An HTML attachment was scrubbed...
<br>URL: <a href="http://twistedmatrix.com/pipermail/twisted-web/attachments/20060705/7c889d33/attachment-0001.htm">http://twistedmatrix.com/pipermail/twisted-web/attachments/20060705/7c889d33/attachment-0001.htm</a><br><br>
------------------------------<br><br>Message: 2<br>Date: Thu, 6 Jul 2006 13:02:53 +1000<br>From: Stephen Thorne <<a href="mailto:stephen@thorne.id.au">stephen@thorne.id.au</a>><br>Subject: Re: [Twisted-web] twisted names server
<br>To: Twisted Web World <<a href="mailto:twisted-web@twistedmatrix.com">twisted-web@twistedmatrix.com</a>><br>Message-ID:<br> <20060706030253.29014.1646699407.divmod.quotient.24248@ohm><br>Content-Type: text/plain; format=flowed; charset=utf-8
<br><br>On Wed, 5 Jul 2006 19:11:30 -0700, Yunier Rojas García <<a href="mailto:onemoverx@gmail.com">onemoverx@gmail.com</a>> wrote:<br>>can anyone please tell me how can I make a simple dns server using<br>>twisted.names
?<br>><br><br>This is the wrong list for this question, but the answer is simple enough to simply present:<br><br># read the help<br>mktap dns --help<br><br># create the tap file<br>mktap names<br><br># test the tap file
<br>twistd --nodaemon --file=dns.py<br><br># run the tap as a daemon<br>twistd --file=dns.py<br><br>I recommend possibly using the twistd --no_save option, to stop a dns-shutdown.tap file from being created (it's something so you can restart the server including all of its state, you probably don't need that).
<br><br>Stephen.<br><br><br><br>------------------------------<br><br>_______________________________________________<br>Twisted-web mailing list<br><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com
</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br><br><br>End of Twisted-web Digest, Vol 28, Issue 8<br>******************************************
<br></blockquote></div><br>