WAPI – command dns-rows-list

  WAPI (API Interface), WDNS

Use this command to get a list of the records in DNS for domains with its basic information.

To get detailed information about a particular record, use the command dns-row-detail.

Parameters

  • domain = domain name – required

Return Values

  • 1000 = ok
  • 2201 = unsupported TLD
  • 2202 = invalid or unsupported domain name
  • 2318 = can not be performed at the secondary domain type
  • 3222 = opening domain failed
  • 3223 = access denied
  • 3305 = domain is locked for editing
  • 3306 = domain is deleted

Return data

  • row = record
    • ID = record ID
    • name = record name
    • ttl = record TTL
    • rdtype = record type
    • rdata = data of record
    • changed_date = date of change
    • author_comment = comment

Example of use

XML query:

<request>
 <user>tester</user>
 <auth>fb82be1466331148816bdbac855a6b1bd4e24b81</auth>
 <command>dns-rows-list</command>
 <data>
  <domain>example.com</domain>
 </data>
</request>
XML response:
<response>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1291194425</timestamp>
 <svTRID>1291194425.9562.9881.1</svTRID>
 <command>dns-rows-list</command>
 <data>
  <row>
   <ID>911</ID>
   <name></name>
   <ttl>1800</ttl>
   <rdtype>A</rdtype>
   <rdata>1.2.3.4</rdata>
   <changed_date>2010-12-01 09:54:41</changed_date>
   <author_comment></author_comment>
  </row>
  <row>
   <ID>913</ID>
   <name></name>
   <ttl>1800</ttl>
   <rdtype>MX</rdtype>
   <rdata>1 mail1.wedos.net</rdata>
   <changed_date>2010-12-01 09:54:54</changed_date>
   <author_comment></author_comment>
  </row>
  <row>
   <ID>914</ID>
   <name></name>
   <ttl>1800</ttl>
   <rdtype>MX</rdtype>
   <rdata>10 mailbackup.wedos.net</rdata>
   <changed_date>2010-12-01 09:55:07</changed_date>
   <author_comment></author_comment>
  </row>
  <row>
   <ID>912</ID>
   <name>*</name>
   <ttl>1800</ttl>
   <rdtype>A</rdtype>
   <rdata>1.2.3.4</rdata>
   <changed_date>2010-12-01 09:54:46</changed_date>
   <author_comment></author_comment>
  </row>
 </data>
</response>
Děkujeme za zpětnou vazbu!