Global DNS now offers an API for you to create custom applications. Follow the steps below to use the API effectively.
Access the Admin Panel:
Navigate to your Admin Panel.
Generate API Key:
Go to Settings
.
Click on the Advanced
section.
Generate your API key. You can create multiple keys if needed.
Request Type: GET
Request URL: https://yourdomain.com/api/v1/[apikey]/servers
Parameters:
[apikey]
- Your API key from the Admin Panel.
Request Type: GET
Request URL: https://yourdomain.com/api/v1/[apikey]/dns/[domain]/[type]/[id]
Parameters:
[apikey]
- Your API key from the Admin Panel.
[domain]
- The domain name for which you want to fetch DNS records.
[type]
- Type of DNS record. Supported values include: A
, MX
, CNAME
, TXT
, PTR
, CAA
, SOA
, SRV
, AAAA
.
[id]
- Unique ID of the server obtained from the previous API call.
Request Type: GET
Request URL: https://yourdomain.com/api/v1/[apikey]/whois/[domain]
Parameters:
[apikey]
- Your API key from the Admin Panel.
[domain]
- The domain name for which you want to perform the WHOIS check.
For detailed instructions or further assistance, please contact our support team.