[Twisted-Python] Current twisted dns client just doesn't work

Tom Most twm at freecog.net
Fri Dec 4 19:06:21 MST 2020


Why do an ANY query at all? As Glyph noted[1] the correct solution is to query A and AAAA concurrently. If you want a temporary hack wouldn't the most straightforward thing be to query just A instead of ANY + A?

---Tom

[1]: https://twistedmatrix.com/trac/ticket/9691#comment:5

On Fri, Dec 4, 2020, at 5:37 PM, spam tam wrote:
> Twisted provide ability to run dns client in the same thread as main
> twisted application. But it just doesn't work.
> 
> I created pull request which fix the problem:
> https://github.com/twisted/twisted/pull/1488
> 
> I would like to know if twisted community knows about it. This client
> doesn't work for years. I think that we should fix the problem.
> 
> Twisted dns client should work. What do you think? I think we should
> discuss the problem. DNS client protocol provide ANY, A, AAAA
> requests. Current dns ANY request is not enough. My code add A dns
> request after current ANY request.
> 
> Is this enough fix or anybody think it's not enough or may be we
> should find another solution. I think twisted framework should work
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



More information about the Twisted-Python mailing list