![]() |
Get DNS zone from admin
Hello,
How can I retrieve DNS zone from admin? Using dns_zone_get and dns_zone_get_by_user function give me the same permission error: Code:
permission_deniedYou do not have the permissions to access this function. SOAP Error: You do not have the permissions to access this function.Also in dns_zone_get help file - remoting_client/API-docs/dns_zone_get.html Code:
Input Variables:but in the example php file - dns_zone_get.php Code:
$id = 1;Any help is appreciated. Thank you. |
Which ispconfig version do you use?
The error abvove means that the function that you try to use is not enabled for the remote user that you used to access the server. Quote:
|
Quote:
Using dns_zone_get_by_user.php for the client it works. All domain under client is shown. but not for the admin. I put in there: Code:
//* Set the function parameters. |
The admin is not a client, so the function will not return anything when you query zones by client.
There is no function to get all zones from all clients in the api yet, as you can see in the api docs. If you like to have such a function in future releases, then make a feature request in the bugtracker. |
| All times are GMT +2. The time now is 22:14. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.