Checking Resolvers in cPanel Server

Checking Resolvers in cPanel Server

If you are having DNS problems, ensure that the server has a list of functional resolvers. Resolvers allow the server to find IP addresses corresponding to domain names by communicating with DNS servers.

If you need to add resolvers to your server:

nano /etc/resolv.conf

If no resolvers have been entered into the configuration file:

nameserver $IP

*where $IP is meant to represent the IP address of the resolver.

You should be able to obtain at least 2 resolvers from your data center.

To make sure the resolver is working properly open a terminal session and type:


If results are returned to the server, the resolvers have been properly configured.

Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.