# File lib/celluloid/io/dns_resolver.rb, line 21 def initialize @nameservers = self.class.nameservers # TODO: fall back on other nameservers if the first one is unavailable @server = @nameservers.first # The non-blocking secret sauce is here, as this is actually a # Celluloid::IO::UDPSocket @socket = UDPSocket.new end