Configure the DNS resolvers for your server in WHM to determine which DNS servers your server uses to resolve domain names. This configuration is essential for ensuring consistent and reliable name resolution across all hosted accounts.
Before you begin
You will need:
Server Administrator access to WHM
Root or administrative privileges to modify system-level network configurations
Configure DNS Resolvers
Log in to WHM.
Navigate to Server Configuration > Basic Networking > Configure DNS Resolvers.
You will see a list of the current DNS resolvers. To change them, enter the IP addresses of the DNS servers you wish to use in the provided fields.
Enter a primary and secondary resolver for each entry.
Click Save to apply the changes.
Warning: Incorrectly configuring DNS resolvers can cause your server to lose the ability to resolve external domain names, which will result in a loss of connectivity for websites and email services.
Confirm the result
The system will display the updated list of DNS resolvers.
You can verify the change by running the
nslookupordigcommand from the command line to ensure the server is querying the intended IP addresses.
Limitations
This procedure updates the system-wide DNS resolvers. Changes made here affect all accounts and services on the server. If you require specific DNS resolution for a single account, you should manage that via the specific account's DNS zone settings.
