Actions
Backport #2182
closedResolv::DNS fails with only IPv6 nameservers enabled
Status:
Closed
Assignee:
-
Description
=begin
When trying to resolve something (in my case MX records) while only IPv6 nameservers are specified in /etc/resolv.conf, the call to getresources fails with:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/resolv.rb:685:in `send': Invalid argument - sendto(2) (Errno::EINVAL)
Adding a IPv4 nameserver to /etc/resolv.conf (in addition to the IPv6 nameservers) enables the query to complete.
System: Mac OS X Snow Leopard
Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
Attached: Log with Backtrace and sample code which triggers the error
How to repeat: only have IPv6 Nameservers defined in /etc/resolv.conf
=end
Files
Actions
Like0
Like0Like0