    # File lib/stella/utils.rb, line 156
        def cname(host)
          require 'resolv'
          host = host.host if host.kind_of?(URI)
          begin
            resolv = Resolv::DNS.new # { :nameserver => [] }
            resolv.getresources(host, Resolv::DNS::Resource::IN::CNAME).collect { |cname| cname.name.to_s }.first
          rescue => ex
            Stella.ld "Error getting CNAME for #{host}: #{ex.message} (#{ex.class})"
            Stella.ld ex.backtrace
            nil
          end
        end