Pages

Wednesday, March 27, 2013

How to install Account DNS Check plugin for cPanel/WHM

This plugin gives administrators the ability to easily get a list of domains on their cPanel/WHM server that do not resolve to the correct IP. This is very helpful when doing server to server transfers, or auditing a server to remove old accounts. You can run this script and easily see a list of domains that are pointing to the old server or customers who are no longer hosted on their server.

Installation Instructions


The installation proceedure for this plugins requires that you have root access to the server via the console or SSH. Below are step by step instructions you should use to install this plugin.



# cd /home
# rm -f latest-accountdnscheck
# wget http://www.ndchost.com/cpanel-whm/plugins/accountdnscheck/download.php
# sh latest-accountdnscheck

  • Using the plugin from the WebHostManager

    Log into the WHM, click on plugins, then Account DNS Check. Depending on how many domains are on the server, the speed of your resolver, how many domains dont resolve, etc, the plugin may take a few minutes to show you the output.
  • Using the plugin from the Command Line

    For those of you who would rather execute this plugin through the command line that can be done too.

    # /var/cpanel/accountdnscheck/scripts/cli_run.sh

1 comment: