Issue #8285 has been updated by Akira Tanaka.

Status changed from Open to Feedback

----------------------------------------
Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
https://bugs.ruby-lang.org/issues/8285#change-44419

* Author: Julian Mehnle
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: lib
* Target version: 
* ruby -v: ruby 1.8.7 (2011-12-28 patchlevel 357) [i686-darwin11]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
Since my TCP fallback support patch from #3835 was merged Resolv::DNS would sometimes fail with a @"host/port don't match: <nameserver>:<port>"@ @Resolv::DNS::Requester::RequestError@ exception in @resolv.rb@, line 818 (Ruby 1.9.1).  This happens when more than one nameserver is configured and Resolv::DNS is has fallen back to TCP and rotates from the first to the second nameserver (e.g., when there was a timeout in the TCP query to the first nameserver).

---Files--------------------------------
ruby-trunk-8285-resolv-tcp-fallback-fix.diff (2.51 KB)


-- 
http://bugs.ruby-lang.org/