    # File lib/stella/utils.rb, line 127
        def ipaddr(host)
          require 'resolv'
          host = host.host if host.kind_of?(URI)
          begin
            resolv = Resolv::DNS.new # { :nameserver => [] }
            resolv.getaddresses(host).collect { |addr| addr.to_s }
          rescue => ex
            Stella.ld "Error getting ip address for #{host}: #{ex.message} (#{ex.class})"
            Stella.ld ex.backtrace
            nil
          end
        end