For cPanel & WHM 11.46
If you experience DNS problems, ensure that the server has a list of functional resolvers. Resolvers allow your server to communicate with DNS servers in order to find IP addresses that correspond to domain names.
If you need to add resolvers to your server, perform the following steps:
- Use your preferred text editor to open the
If this file does not contain any resolvers, enter
nameserver $IPin the file, where
$IPrepresents the IP address of the resolver.
You should be able to obtain at least two resolvers from your data center.
To make sure the resolvers function properly, perform the following steps:
- Open a terminal session.
Run the following command, where
example.comcan represent any domain.
- If results are returned to the server, the resolvers are properly configured.