1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
[
{
"request": {
"body": "",
"headers": {
"X-API-Key": "S3cr3t-T0k3n"
},
"method": "get",
"options": [],
"request_body": "",
"url": "http://my-powerdns.api/servers/localhost/zones/my-domain.tst"
},
"response": {
"body": "{\"id\":\"my-domain.tst.\",\"url\":\"/servers/localhost/zones/my-domain.tst.\",\"name\":\"my-domain.tst\",\"kind\":\"Native\",\"dnssec\":false,\"account\":\"\",\"masters\":[],\"serial\":2016060601,\"notified_serial\":0,\"last_check\":0,\"soa_edit_api\":\"\",\"soa_edit\":\"\",\"records\":[{\"name\":\"my-domain.tst\",\"type\":\"NS\",\"ttl\":3600,\"disabled\":false,\"content\":\"ns2.my-powerdns.api\"},{\"name\":\"my-domain.tst\",\"type\":\"NS\",\"ttl\":3600,\"disabled\":false,\"content\":\"ns1.my-powerdns.api\"},{\"name\":\"my-domain.tst\",\"type\":\"SOA\",\"ttl\":3600,\"disabled\":false,\"content\":\"a.misconfigured.powerdns.server hostmaster.my-domain.tst 2016060601 10800 3600 604800 3600\"}],\"comments\":[]}",
"headers": {
"Transfer-Encoding": "chunked",
"Access-Control-Allow-Origin": "*",
"Connection": "close",
"Content-Length": "717",
"Content-Type": "application/json",
"Server": "PowerDNS/3.4.8"
},
"status_code": 200,
"type": "ok"
}
}
]
|