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 &quot;no answer&quot;.<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> &lt;<a href="mailto:twisted-web-request@twistedmatrix.com">twisted-web-request@twistedmatrix.com
</a>&gt; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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 &quot;Re: Contents of Twisted-web digest...&quot;
<br><br><br>Today's Topics:<br><br>&nbsp;&nbsp; 1. twisted names server ( Yunier Rojas Garc?a )<br>&nbsp;&nbsp; 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: &quot; Yunier Rojas Garc?a &quot; &lt;<a href="mailto:onemoverx@gmail.com">onemoverx@gmail.com</a>&gt;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:9f45496e0607051911p7c675637k489126fa07f77aaa@mail.gmail.com">9f45496e0607051911p7c675637k489126fa07f77aaa@mail.gmail.com
</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<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 &lt;<a href="mailto:stephen@thorne.id.au">stephen@thorne.id.au</a>&gt;<br>Subject: Re: [Twisted-web] twisted names server
<br>To: Twisted Web World &lt;<a href="mailto:twisted-web@twistedmatrix.com">twisted-web@twistedmatrix.com</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;20060706030253.29014.1646699407.divmod.quotient.24248@ohm&gt;<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 &lt;<a href="mailto:onemoverx@gmail.com">onemoverx@gmail.com</a>&gt; wrote:<br>&gt;can anyone please tell me how can I make a simple dns server using<br>&gt;twisted.names
?<br>&gt;<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>