[Twisted-Python] Handeling unresolved DNS queries?

Jesper Taxbøl jesper at taxboel.dk
Sat Oct 24 16:04:25 EDT 2009


Im looking at the common.py and I feel a bit confused about how to wrap a
resolver.

Would'nt a subclass achieve the same thing. I would only need to implement
the changed functions in the subclass.

I guess my problem is that I dont exactly know how to write a wrapper in
python.

Kind regards

Tax

2009/10/23 <exarkun at twistedmatrix.com>

> On 08:55 pm, jesper at taxboel.dk wrote:
> >I'm still new to the whole twisted way of doing things, but it sounds
> >very
> >sensible. :)
> >
> >Could you suggest a class to start studying from ?
>
> twisted/names/common.py is probably a good place to start.  It has what
> comes closest to the definition of a Twisted Names "resolver".
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20091024/d312cbbc/attachment.htm 


More information about the Twisted-Python mailing list