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

2020-12-04 Thread Tom Most
Why do an ANY query at all? As Glyph noted[1] the correct solution is to query 
A and  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, 
> 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@twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


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

2020-12-04 Thread spam tam
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, 
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@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python