Project

General

Profile

Actions

Bug #8285

closed

Resolv::DNS: TCP fallback fails with multiple resolvers

Added by julian.mehnle (Julian Mehnle) about 11 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.7 (2011-12-28 patchlevel 357) [i686-darwin11]
Backport:
[ruby-core:<unknown>]

Description

Since my TCP fallback support patch from #3835 was merged Resolv::DNS would sometimes fail with a @"host/port don't match: :"@ @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) ruby-trunk-8285-resolv-tcp-fallback-fix.diff julian.mehnle (Julian Mehnle), 04/18/2013 07:36 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0