Symptoms
Your server is unable to connect outbound to another server or domain. This can happen when attempting to send mail, or any time a website reaches out for remote resources. You may see an error similar to the following when connecting to a known domain:
[ root@server ~]cPs# curl https://domain.tld/
curl: (6) Could not resolve host: domain.tld
Description
This error occurs when the server is unable to resolve hosts/domains and is typically due to the server's configured resolvers.
Workaround
To resolve this issue, use "WHM / Resolver Configuration" to remove the current nameservers from /etc/resolv.conf and add new nameservers that can resolve remote domains. You can view more details on this procedure here: