Few people know that you can continue to use curl when your DNS is broken. Just add

—resolve host:port:ip-address

to your command line*.

*) Yes, that about all DNS does for you. Prettty lame, right?💁🏻‍♂️

@icing I use `--connect-to HOSTNAME::REALHOST:` all the time to get directly to a host in a load balancer etc.
Makes everything work with HTTPS too!