celluloid / celluloid-dns

UNMAINTAINED: See celluloid/celluloid#779 - Celluloid::IO-powered DNS server
https://celluloid.io
57 stars 13 forks source link

DNS should use search domains by default? #7

Open ioquatix opened 8 years ago

ioquatix commented 8 years ago

Following from https://github.com/celluloid/celluloid-io/issues/146#issuecomment-141515313

Asmod4n commented 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

Asmod4n commented 8 years ago

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

ioquatix commented 8 years ago

Yes, I was thinking that on Mac OS X, the resolv.rb code wouldn't work correctly.