More accurate type for ns-resolve