Pages

Saturday, May 18, 2024

Account DNS Check Plugin for cPanel/WHM: Simplifying Server Migration and Domain Cleanup

Managing a cPanel/WHM server often involves tasks like migrating accounts to new servers or cleaning up old, inactive domains. One of the most tedious aspects of these tasks is ensuring that all domains are pointing to the correct server IP address. This is where the Account DNS Check plugin comes to the rescue!

What is the Account DNS Check Plugin?

The Account DNS Check plugin is a handy tool designed specifically for cPanel/WHM administrators. It streamlines the process of verifying whether hosted domains resolve to the correct IP address of your server. This can be a lifesaver when:

  • Migrating Servers: When moving accounts from one server to another, this plugin quickly identifies domains that still point to the old server, ensuring a smooth transition.
  • Auditing Your Server: It helps you pinpoint domains that are no longer active or that might have mistakenly been pointed elsewhere, allowing you to free up resources.

Key Features

  • Easy Domain Verification: The plugin automatically checks the DNS records for all domains hosted on your cPanel/WHM server.
  • Clear Reporting: It generates a clear list of domains that are either resolving correctly or those that need attention.
  • Multiple Usage Options: You can use the plugin directly within WHM's graphical interface or execute it from the command line, offering flexibility for different workflows.

Installation Instructions

  1. SSH Access: Log into your server as the root user via SSH or the console.
  2. Download and Install:
    Bash
    cd /home
    rm -f latest-accountdnscheck  # Remove old version (if exists)
    wget http://www.ndchost.com/cpanel-whm/plugins/accountdnscheck/download.php
    sh latest-accountdnscheck

How to Use the Plugin

Within WHM:

  1. Log in to your WHM panel.
  2. Go to Plugins and click on Account DNS Check.
  3. The plugin will take a few minutes to process, depending on the number of domains you have. Once complete, you'll see a list of domains with their DNS status.

From the Command Line:

  1. SSH into your server as the root user.
  2. Run the following command:
    Bash
    /var/cpanel/accountdnscheck/scripts/cli_run.sh
    The results will be displayed in your terminal.

Why This Plugin Matters

  • Saves Time: Manual DNS checks can be extremely time-consuming, especially on servers with a large number of domains.
  • Reduces Errors: The plugin automates the process, minimizing the chance of human error.
  • Improves Efficiency: It gives you a quick overview of your domain's DNS health, allowing you to take corrective action promptly.

The Account DNS Check plugin is an indispensable tool for any cPanel/WHM administrator. By simplifying a critical but often tedious task, it helps ensure smooth server migrations and a clean, well-organized server environment.

1 comment:

  1. Greetings I am so happy I found your blog, I really found you by accident, while I was researching on Yahoo for something else, Nonetheless I am here now and would just like to say thanks for a fantastic post and a all round thrilling blog (I also love the theme/design), I don't have time to read it all at the moment but I have saved it and also added your RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic work.

    ReplyDelete