I am using Laravel/Homestead to developing website and retrieve search result from AWS cloudsearch. Unfortunately, I got following errors that curl could not resolve host cloudsearch.amazonaws.com.
curl: (6) Could not resolve host: search-search--XXXXXX.ap-northeast-1.cloudsearch.amazonaws.com
And here's the things I know about this error.
- Curl able to resolve cloudsearch.amazonaws.com in host machine instead of virtual machine (Vagrant).
- Curl fail even though firewall is shutdown
- Traceroute fail to resolve the host also.
Here's the traceroute results
~$ traceroute search-XXXXXX.ap-northeast-1.cloudsearch.amazonaws.com
search-XXXXX.ap-northeast-1.cloudsearch.amazonaws.com: Name or service not known
Cannot handle "host" cmdline arg `search-XXXXX.ap-northeast-1.cloudsearch.amazonaws.com' on position 1 (argc 1)