-
In case you didn't know:
curl
has a--resolve
that allows you to locally spoof DNS without the headache of messing with caches or/etc/hosts
, and it's super helpful: support.acquia.com/hc/en-us/articles/360005257154-Use-cURL-s-resolve-option-to-pin-a-request-to-an-IP-address /via codeknitter