Caching hosts when possible, ignore ipv6