Class: Async::DNS::IPSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/async/dns/replace.rb

Constant Summary collapse

@@resolver =
nil

Class Method Summary collapse

Class Method Details

.getaddress(host) ⇒ Object



46
47
48
49
50
51
52
# File 'lib/async/dns/replace.rb', line 46

def getaddress(host)
	if Replace.resolver?
		Replace.get_address(host)
	else
		original_resolv_getaddress(host)
	end
end