[Twisted-Python] simple dns server with twisted.names
natester at gmail.com
Fri Jan 13 11:27:23 EST 2006
On 1/13/06, Yves Glodt <y.glodt at sitasoftware.lu> wrote:
> I have read about twisted.names and I guess it can help me in what I
> have to achieve..
> I have a database which contains a list of ip-addresses and
> corresponding hostnames.
> Now, how could I do to, e.g., write a daemon which would, on dns
> queries, query the database to resolve the name?
You could subclass twisted.names.client.Resolver to lookup the names from
the db or from some structure generated from the db.
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python