Issue #5095 has been reported by Orion Poplawski.

----------------------------------------
Bug #5095: Resolv should call res_init()
http://redmine.ruby-lang.org/issues/5095

Author: Orion Poplawski
Status: Open
Priority: Normal
Assignee: 
Category: lib
Target version: 
ruby -v: ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]


At least on linux, when /etc/resolv.conf changes it is necessary to call res_init() to load the new resolver information.  The Resolv library does not call res_init() and there appears to be no way to call it.

See http://projects.puppetlabs.com/issues/2776 for an example of the problem.


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