On 7/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:
Send Twisted-web mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Twisted-web digest..."
Today's Topics:
1. twisted names server ( Yunier Rojas Garc?a )
2. Re: twisted names server (Stephen Thorne)
----------------------------------------------------------------------
Message: 1
Date: Wed, 5 Jul 2006 19:11:30 -0700
From: " Yunier Rojas Garc?a " <[EMAIL PROTECTED]>
Subject: [Twisted-web] twisted names server
To: [email protected]
Message-ID:
<[EMAIL PROTECTED] >
Content-Type: text/plain; charset="iso-8859-1"
can anyone please tell me how can I make a simple dns server using
twisted.names?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20060705/7c889d33/attachment-0001.htm
------------------------------
Message: 2
Date: Thu, 6 Jul 2006 13:02:53 +1000
From: Stephen Thorne <[EMAIL PROTECTED]>
Subject: Re: [Twisted-web] twisted names server
To: Twisted Web World <[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed; charset=utf-8
On Wed, 5 Jul 2006 19:11:30 -0700, Yunier Rojas García <[EMAIL PROTECTED]> wrote:
>can anyone please tell me how can I make a simple dns server using
>twisted.names ?
>
This is the wrong list for this question, but the answer is simple enough to simply present:
# read the help
mktap dns --help
# create the tap file
mktap names
# test the tap file
twistd --nodaemon --file=dns.py
# run the tap as a daemon
twistd --file=dns.py
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).
Stephen.
------------------------------
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
End of Twisted-web Digest, Vol 28, Issue 8
******************************************
_______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
