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 curl is amazing - I love this feature for testing and troubleshooting DNS, certificates, WAF/CDN, etc.