Resolver Configuration

Valid for versions 82 through the latest version



Last modified: June 13, 2024


The Resolver Configuration interface allows you to use a configuration wizard to edit the /etc/resolv.conf file. This file contains the nameservers that your server queries to resolve domain names into IPv4 or IPv6 addresses.

If you do not configure these resolvers correctly, your server will not connect to the internet.

After you navigate to this interface, click Proceed to continue to the next interface.

Configure resolvers

Your server requires at least two resolver IP addresses. You can also add an optional third address.

While cPanel & WHM does not require a third resolver IP address, we recommend that you use a third resolver IP address. An additional resolver helps to ensure your server’s uptime if you experience problems with either of your other resolvers.

To configure your resolvers, perform the following steps:

  1. Enter the desired IPv4 or IPv6 addresses in the Primary Resolver and Secondary Resolver text boxes.

    Contact your Internet Service Provider (ISP) to obtain resolver IP addresses.

  2. To configure a third resolver, enter that IP address in the Tertiary Resolver text box.

  3. Click Continue. A confirmation message will appear.

If you use a open DNS resolver (such as Google®, CloudFlare® or OpenDNS®), Spamhaus and other public DNSBL servers may return a "not listed" (NXDOMAIN) message. Your system will fail to properly mark the site as a source of spam. If you use any blacklist in WHM’s Exim Configuration Manager interface, we recommend that you use your hosting provider’s or network provider’s resolvers. If you must use an open DNS resolver, be aware that this issue may occur.
If your server cannot connect to the internet after you configure your resolvers, check the /etc/resolv.conf file to ensure that it contains the IP addresses that you specified.

Additional Documentation