# File lib/rhc/helpers.rb, line 432
    def host_exists?(host)
      # :nocov:
      # Patch for BZ840938 to support Ruby 1.8 on machines without /etc/resolv.conf
      dns = Resolv::DNS.new((Resolv::DNS::Config.default_config_hash || {}))
      resources = dns.getresources(host, Resolv::DNS::Resource::IN::A)
      debug("Checking for #{host} from Resolv::DNS: #{resources.inspect}") if debug?
      resources.present?
      # :nocov:
    end