# File lib/rhc/helpers.rb, line 442
    def hosts_file_contains?(host)
      with_tolerant_encoding do
        begin
          resolver = Resolv::Hosts.new
          result = resolver.getaddress host
          debug("Checking for #{host} from Resolv::Hosts: #{result.inspect}") if debug?
          result
        rescue => e
          debug "Application could not be resolved through Hosts file:  #{e.message}(#{e.class})\n #{e.backtrace.join("\n ")}\n Attempting DNS resolution."
        end
      end
    end