resolve with c-ares: don't resolve IPv6 when not working