curl + host cannot resolve code example
Example: curl: (6) Could not resolve host: http-inputs-hec.splunkcloud.com
curl -k https://prd-abcd.splunkcloud.com:8088/services/collector/event -H "Authorization: Splunk yourtoken" -d '{"event": "hello world"}'