add --resolve to curl for first visit, in case DNS is not set up