changed validate_resolvable to return IP