Using /scripts/cpdig as a diagnostic tool for DNS lookups.
PinnedHello :) We published a new script in cPanel & WHM version 80 to help diagnose DNS issues - cpdig!
[root@hostname ~]# /scripts/cpdig --help
NAME
cpdig
USAGE
cpdig <name> <type> [--verbose]
DESCRIPTION
This script performs a DNS query using cPanel’s DNS resolver. Its output
should yield the same end results as "dig +trace $name $type".
cPanel provides this script solely for diagnostic purposes; no cPanel &
WHM feature requires its use.
Below is an example of a command you can enter to check which IP address a domain's "A" record resolves to using Terminal in WHM:
/scripts/cpdig your-domain-here.tld A
Please sign in to leave a comment.
Comments
0 comments