Open ioquatix opened 8 years ago
Ruby has a class which deals which nameserver
, search
etc from resolv.conf
and the Windows Registry: https://github.com/ruby/ruby/blob/v2_2_3/lib/resolv.rb#L959
On OS X you also have to look inside the /etc/resolver directory: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/resolver.5.html
Yes, I was thinking that on Mac OS X, the resolv.rb
code wouldn't work correctly.
Following from https://github.com/celluloid/celluloid-io/issues/146#issuecomment-141515313
Celluloid::DNS::Resolver
is created, do we consultresolve.conf
for every request?resolve.conf
at all?resolv.conf
work on Mac OS X and is it compatible with Linux? What about Windows?Celluloid::DNS::Resolver
defer to the OS supplied implementation?