Project

General

Profile

Actions

Bug #5095

closed

Resolv should call res_init()

Added by opoplawski (Orion Poplawski) almost 13 years ago. Updated over 12 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
[ruby-core:38500]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0