DNS API PROTOCOL LIST DOMAIN (resellers)
URL to call for DNS updates: https://www.worldwidedns.net/api_dns_list_domain_reseller.asp
The above URL should be called with HTTPS for secure communications however you can use HTTP
and use a non secure transaction.
Use this function to list domain contents for a certain domain in your reseller account.
Parameter |
Value |
Description |
ID |
reseller ID |
Your reseller ID |
NAME |
login ID |
Your login ID |
PASSWORD |
password |
Your password |
DOMAIN |
domain name |
Domain name to query |
Here is an example URL for your reference:
https://www.worldwidedns.net/api_dns_list_domain_reseller.asp? NAME=your_id&PASSWORD=your_password&ID=reseller_id&DOMAIN=domain_name
We will pass the data back as follows:
hostmaster value followed by CRLF
refresh value followed by CRLF
retry value followed by CRLF
expire value followed by CRLF
ttl value followed by CRLF
secure value followed by CRLF
www.A.0.0.0.0
@.A.0.0.0.0
@.MX.10 sampledomain1.org
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
.NONE.
We will send back the values of the SOA on the 1st 6 lines then pass the zone data
over the next 100 lines. Data will have the RECORD followed by CHR(31) then the
TYPE followed by CHR(31) then the RECORD DATA followed by CFLF.
In the event that the domain is a SECONDARY zone type, we will simply pass the IP address
we have on file for that domain.
Here is a list of possible return codes that you would receive with the above function.
When updating a domain, you can get multiple return codes. Keep this in mind when
retrieving our return codes. An example would be a response from each name server
advising that the zone was updated or not.
Code |
Description |
401 |
Login ID you supplied is SUSPENDED, you need to renew your account |
403 |
Login ID and/or Password you supplied is not on file or does not match |
405 |
Domain name supplied is not in your account |
|