added --cares-resolve option