Cache not only first non-IP hostname