ruby-dns / net-dns

Net::DNS is a DNS library written in Ruby.
http://net-dns.rubyforge.org
Other
165 stars 42 forks source link

Return answer from query_tcp upon a timeout #63

Closed nbaum closed 1 year ago

nbaum commented 10 years ago

query_tcp returns the array of nameservers, but query expects it to return the answer.

ghost commented 10 years ago

I have forked this repository (after attempting and failing to contact author) here: https://github.com/mordocai/net-dns. If you wish to resubmit your pull request there I will review/merge it in. It will shortly be the gem net-dns2 on rubygems.org.

ghost commented 10 years ago

I merged your change into my fork here: https://github.com/mordocai/net-dns/commit/9529aef28e8f6dcdbade59c9cd9de5df7a3a644e. It should be in the v0.8.3 release later this week.