Domain Host List
Resource path /Domain/Host/List
https://testapi.internet.bs/Domain/Host/List?apiKey=testapi&password=testpass&...
The command is intended to retrieve the list of hosts defined for a domain.
HTTPS POST/GET Request parameters:
| Parameter name | Description |
ApiKey |
The API key that we provided to you when you requested API access for your account |
Password |
The password we provided when you requested API access for your account |
Domain |
The domain name for which the list of hosts have to be retrieved |
CompactList |
By default we only return the list of hosts. However you may obtain extra information such as IPs and host status if you set CompactList=no. The default value is ComptactList=yes. Example list with CompactList=no: |
ResponseFormat |
This specifies how the response will be returned. Possible values are TEXT, JSON and XML. |
Returned data:
TRANSACTID=Transaction ID
HOSTCOUNT =A value <N> representing the number of hosts found for the domain.
HOST1=hostname1.domain.tld
HOST1_IPCount=A value <X> representing the number of IP found for the host.
HOST1_IP1=IP
...
HOST1_IP<X>=IP
...
...
HOST<N>=hostnameN.domain.tld
Example:
The result for this request is:
status=SUCCESS
total_hosts=5
host_1=ns1.test-api-domain7.net
host_2=ns2.test-api-domain7.net
host_3=ns3.test-api-domain7.net
host_4=ns4.test-api-domain7.net
host_5=ns5.test-api-domain7.net
Example 2 (with CompactList=no):
The result for this request is:
status=SUCCESS
total_hosts=5
host_1_hostname=ns1.test-api-domain7.net
host_1_ipcount=2
host_1_ip_1=121.211.42.77
host_1_ip_2=144.222.21.92
host_2_hostname=ns2.test-api-domain7.net
host_2_ipcount=2
host_2_ip_1=121.211.42.77
host_2_ip_2=144.222.21.92
host_3_hostname=ns3.test-api-domain7.net
host_3_ipcount=2
host_3_ip_1=121.211.42.77
host_3_ip_2=144.222.21.92
host_4_hostname=ns4.test-api-domain7.net
host_4_ipcount=2
host_4_ip_1=121.211.42.77
host_4_ip_2=144.222.21.92
host_5_hostname=ns5.test-api-domain7.net
host_5_ipcount=2
host_5_ip_1=121.211.42.77
host_5_ip_2=144.222.21.92


Italiano
Deutsch
English
Espanol
Francais
Romana
Русский
Türkçe 


![]](/img/tabright.jpg)