Record:info
How to retrieve zone records
To retrieve details of a single record, you need the identifier of the record. Use a zone:info request.
XML Template
<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:record="http://www.eurodns.com/record">
<record:info>
<record:id>#RECORDID#</record:id>
</record:info>
</request>
<poll:acknowledge> (Occurrences: 1)
R | #RECORDID# | Identifier of the record |
If the action was successful, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:record="http://www.eurodns.com/record" xmlns:zone="http://www.eurodns.com/zone">
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<record:id>#RECORDID#></record:id>
<record:type>#RECORD TYPE#</record:type>
<record:host>#RECORD HOST#</record:host>
<record:data>#RECORD DATA#</record:data>
<record:serial>#RECORD SERIAL#</record:serial>
<record:refresh>#RECORD REFRESH#</record:refresh>
<record:retry>#RECORD RETRY#</record:retry>
<record:expire>#RECORD EXPIRE#</record:expire>
<record:minimum>#RECORD MINIMUM#</record:minimum>
<record:mx_priority>#RECORD MX PRIORITY#</record:mx_priority>
<record:ttl>#RECORD TTL#</record:ttl>
<record:resp_person>#RECORD RESP PERSON#</record:resp_person>
<record:flag>#RECORD FLAG#</record:flag>
<record:tag>#RECORD TAG#</record:tag>
</resData>
</response>
<resData> (Occurrences: 1)
R | #DOMAIN.TLD# | Name of the domain using this zone |
<zone:records> (Occurrences: 1+)
Note: If the zone contact multiple records, this section will be repeated. Depending on the type, more or less elements will be returned.
R | #RECORD ID# | Identifier of the record |
R | #RECORD TYPE# | Type of the record (SOA, NS, PTR, MX, A, CNAME, AAAA, TXT, APEX, CAA) |
R | #RECORD HOST# | Host of the record |
R | #RECORD DATA# | Data of the record |
R/O | #RECORD TTL# | How long to cache records retrieved from the zone file |
R/O | #RECORD SERIAL# | Used by secondary DNS servers to check if the zone has changed |
R/O | #RECORD REFRESH# | How often secondary DNS servers should check if changes are made to the zone |
R/O | #RECORD EXPIRE# | How long the zone will be valid after a refresh. |
R/O | #RECORD RESP PERSON# | Specifies the domain mailbox name for a responsible person |
R/O | #RECORD MINIMUM# | Used as the default TTL for new records created within the zone. |
R/O | #RECORD MX PRIORITY# | Priority of the MX record |
R/O | #RECORD FLAG# | The issuer critical flag (in case of CAA record) |
R/O | #RECORD TAG# | The tag (issue/issuewild/iodef, in case of CAA record) |
Legend
O | The element is optional and does not have to be specified in the request and/or answer |
R | The element is mandatory and has to specified in the request and/or answer |