# File lib/cookiejar/cookie_validation.rb, line 160 def self.compute_search_domains_for_host host host = effective_host host result = [host] unless host =~ IPADDR result << ".#{host}" base = hostname_reach host if base result << ".#{base}" end end result end