/scripts/cpdig your.servers.hostname A
whmapi1 adddns domain=your.server's.hostname ip=IP
Or
usr/local/cpanel/bin/checkallsslcerts --verbose
/scripts/cpdig your.servers.hostname A
whmapi1 adddns domain=your.server's.hostname ip=IP
Or
usr/local/cpanel/bin/checkallsslcerts --verbose