API to get nameservers for Reseller and Admin accounts

amoozesh98com

Verified User
Joined
Mar 8, 2015
Messages
26

Hi everyone,

I need an API endpoint (or multiple endpoints) in DirectAdmin to fetch the following data via PHP/cURL:

  1. The list of nameservers (DNS) that are set on a Reseller account.
  2. The list of nameservers (DNS) that are set on the main Admin account (server-level).
  3. The server IP address that is configured in DirectAdmin for each of these.
The API should work with both Reseller-level access and Admin-level access.

Which API commands/endpoints should I use to get this information?

Thanks in advance for your help.
 
Back
Top