lib/wmap/host_tracker.rb
# Perform reverse DNS lookup on the local host repository. Not to confuse with the reverse DNS lookup from the Internet
Perform reverse DNS lookup on the local host repository. Not to confuse with the reverse DNS lookup from the Internet
Perform reverse DNS lookup on the local host repository . Not to confuse with the reverse DNS lookup from the Internet
def local_ip_2_host (ip)
		puts "Reverse DNS lookup from the local host repository" if @verbose
		ip=ip.strip unless ip.nil?
		if @known_hosts.key?(ip)
			return @known_hosts[ip]
		else
			return nil
		end
	rescue => ee
		puts "Exception on method #{__method__}: #{ee}"
		return nil
	end
def local_ip_2_host ( ip ) puts "Reverse DNS lookup from the local host repository" if @verbose ip = ip . strip unless ip . nil? if @known_hosts . key? ( ip ) return @known_hosts [ ip ] else return nil end rescue => ee puts "Exception on method #{__method__}: #{ee}" return nil end
Perform reverse DNS lookup on the local host repository.
Perform reverse DNS lookup on the local host repository .
ip
<not_specific>