- Start
- API-Referenz
- API-Dokumentation (XML/ JSON)
- Auftragstypen
- Zone-Auftragstypen
Zone AXFR
Funktion
Der Auftragstyp Zone AXFR ermittelt die Zonen-Daten direkt vom Nameserver.
Beschreibung
Route: GET /zone/{name}/{systemNameServer}/_axfr
Es muss kein Body mitgeschickt werden.
{
}{
"stid": "20190702-app3-dev-8005",
"status": {
"code": "S0210",
"text": "Zonen-Daten wurden erfolgreich ermittelt.",
"type": "SUCCESS"
},
"object": {
"type": "Zone",
"value": "examplezone.com"
},
"data": [
"examplezone.com.\t600\tIN\tSOA\tns1.example-nameserver.com. joe.example.com. 2019070100 3600 7200 604800 600\nexamplezone.com.\t600\tIN\tNS\tns2.example-nameserver.com.\nexamplezone.com.\t600\tIN\tNS\tns1.example-nameserver.com.\nexamplezone.com.\t86000\tIN\tA\t7.7.7.7\nsubdomainexample.examplezone.com.\t600\tIN\tA\t1.3.5.7\nwww.subdomainexample.examplezone.com.\t600\tIN\tA\t1.3.5.7\nwww.examplezone.com.\t86000\tIN\tA\t7.7.7.7\n"
]
}
Auftragstyp-Code: 0210
Verwendet Objekt Zone
<request>
<auth>
<user>customer</user>
<password>password</password>
<context>4</context>
</auth>
<task>
<code>0210</code>
<zone>
<system_ns>ns1.example.com</system_ns>
<name>example.de</name>
</zone>
</task>
</request><response>
<result>
<data>
<axfr><![CDATA[example.de. 86400 IN SOA ns1.example.com. sub1.example.com. 2014121200 43200 7200 1209600 86400
example.de. 86400 IN NS ns1.example.com.
example.de. 86400 IN NS ns2.example.com.
example.de. 86400 IN A 123.123.123.123
www.example.de. 86400 IN A 123.123.123.123
]]></axfr>
</data>
</result>
<status>
<code>S0210</code>
<text>Zonen-Daten wurden erfolgreich ermittelt.</text>
<type>success</type>
<object>
<type>zone</type>
<value>example.de</value>
</object>
</status>
</response>