A FQDN DNS resolution works, but the cURL command fails when the CNAME record points to a wildcard destination
Issue
-
The command
curl
gives the following error:$ curl -k https://custom-name.example.com/ curl: (6) Could not resolve host: custom-name.example.com
-
However, requesting the same address in a browser works.
- The resolve using
dig
ornslookup
also works.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.x CoreOS nodes
- Red Hat Enterprise Linux (RHEL)
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.