Greetings!
My goal is to obtain a list of domains on a given cPanel server. Our test environment has two servers running cPanel DNS only, and several standard cPanel servers. The setup appears to operate correctly.
I've been working with the xml api listzones and have noticed that the data it returns is different depending on dns clustering being enabled or not. According to the documentation at
ListDNSZone < AllDocumentation/AutomationIntegration < TWiki
This appears to hold true if dns clustering is disabled. Once dns clustering is enabled then the results appear to contain all zones from all servers participating in dns clustering. Is this the appropriate and expected behavior for this api?This function will generate a list of all domains and corresponding DNS zones associated with your server.
As a work around it seems like I could use the listaccts api to get a list of accounts, and loop through each one querying cpanel again with the dumpzone api. While I can perform this two step process, I'd like not to unless needed. What are your thoughts?



LinkBack URL
About LinkBacks
Reply With Quote




