Check your resolvers
Most likely, the server does not have valid resolvers listed in /etc/resolv.conf, and therefore cannot resolve domains it does not host. Try these commands:
Code:
# host google.com
# host cpanel.net
# host rdate.cpanel.net
Do these commands return IP addresses, or do they return error messages?
The /etc/resolv.conf file needs to have working resolvers listed. I recommend asking your service provider or data center what resolvers they recommend. Most service providers offer resolvers for their customers' use. Alternatively, you can use free public resolvers, such as Google's public DNS servers. To use Google's resolvers, edit /etc/resolv.conf and place the following lines at the very top:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
Save the changes to the file, and try the host commands I mentioned earlier in this post. If you now get IP addresses, then you have isolated the problem. I do recommend still contacting your data center to find the resolvers that they recommend you use in /etc/resolv.conf.