lib/netdisco/dns.rb in netdisco-0.0.7 vs lib/netdisco/dns.rb in netdisco-0.0.8
- old
+ new
@@ -43,9 +43,10 @@
begin
@cache_name[ip] = Resolv.getname ip
rescue StandardError => e
Log.debug "DNS resolution/getname for '#{ip}' raised error '#{e.class}' with message '#{e.message}'"
@cache_name[ip] = ip
+ ip
end
end
end
end