Hi
Is there a way to list all domains on a server along with their cpanel-assigned IP? I know there's "resolvedomainname?api.version=1&domain=example.com" but this one does a DNS resolve (not a straight out pull from the cpanel server itself like httpd.conf).
I'd hate to have to pull info out of vhosts from httpd.conf.
There's this perl module:
/usr/local/cpanel/Cpanel/UserDomainIp.pm
Is there way to leverage this piece of code reliably without it breaking in the future? If so what's the proper way to pull the info out?
Please help!
Thanks
Is there a way to list all domains on a server along with their cpanel-assigned IP? I know there's "resolvedomainname?api.version=1&domain=example.com" but this one does a DNS resolve (not a straight out pull from the cpanel server itself like httpd.conf).
I'd hate to have to pull info out of vhosts from httpd.conf.
There's this perl module:
/usr/local/cpanel/Cpanel/UserDomainIp.pm
Is there way to leverage this piece of code reliably without it breaking in the future? If so what's the proper way to pull the info out?
Please help!
Thanks