Command to obtain basic information about the domain in the DNS system WEDOS (WDNS)
Parameters
- name – domain name
Return values
- 1000 = OK
- 2201 = unsupported TLD
- 2202 = invalid domain name
- 3222 = failed to open domain
- 3223 = authorization error
- 3305 = domain is locked for editing
- 3306 = domain is deleted
Return data
If successful, the command returns detail about the domain in WDNS in the node /.
Example of use
XML query:
<request> <user>tester</user> <auth>8b91c1b94fd9a4488dc3d9160eebbf25c0b2a03f</auth> <command>dns-domain-info</command> <data> <name>example.com</name> </data> </request>
XML response:
<response> <code>1000</code> <result>OK</result> <timestamp>1291039102</timestamp> <svTRID>1291039102.0722.27926.1</svTRID> <command>dns-domain-info</command> <data> <domain> <name>example.com</name> <status>active</status> <type>primary</type> <tlock>none</tlock> <autocommit>1</autocommit> <axfr_enabled>0</axfr_enabled> <axfr_ips></axfr_ips> <changed>0</changed> <changed_date>2010-11-24 16:11:03</changed_date> <commit_date></commit_date> <reload_pending>0</reload_pending> <reload_pending_date>2010-11-24 16:15:08</reload_pending_date> <reload_date>2010-11-24 16:15:08</reload_date> <disabled_date></disabled_date> <enabled_date></enabled_date> <add_date>2010-11-23 16:34:03</add_date> <rname>wedos.wedos.com</rname> <serial>2010112405</serial> <refresh>3600</refresh> <retry>1800</retry> <expire>2592000</expire> <minimum>3600</minimum> <rr_cnt>6</rr_cnt> <ns_out>4</ns_out> <ns>ns.wedos.net</ns> <ns>ns.wedos.cz</ns> <ns>ns.wedos.eu</ns> <ns>ns.wedos.com</ns> </domain> </data> </response>