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
28
29
30
31
|
[
{
"request": {
"body": "",
"headers": {
"X-API-Key": "S3cr37_70k3n"
},
"method": "get",
"options": [],
"request_body": "",
"url": "https://my-powerdns.api/api/v1/servers/localhost/zones/my-domain.art."
},
"response": {
"body": "{\"account\":\"\",\"dnssec\":false,\"id\":\"my-domain.art.\",\"kind\":\"Native\",\"last_check\":0,\"masters\":[],\"name\":\"my-domain.art.\",\"notified_serial\":0,\"rrsets\":[{\"comments\":[],\"name\":\"my-domain.art.\",\"records\":[{\"content\":\"a.misconfigured.powerdns.server. hostmaster.my-domain.art. 2016060601 10800 3600 604800 3600\",\"disabled\":false}],\"ttl\":3600,\"type\":\"SOA\"},{\"comments\":[],\"name\":\"my-domain.art.\",\"records\":[{\"content\":\"ns1.domain.com\",\"disabled\":false}],\"ttl\":3600,\"type\":\"NS\"}],\"serial\":2016060601,\"soa_edit\":\"\",\"soa_edit_api\":\"\",\"url\":\"api/v1/servers/localhost/zones/my-domain.art.\"}",
"headers": {
"Access-Control-Allow-Origin": "*",
"Connection": "close",
"Content-Length": "493",
"Content-Security-Policy": "default-src 'self'; style-src 'self' 'unsafe-inline'",
"Content-Type": "application/json",
"Server": "PowerDNS/4.0.1",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "deny",
"X-Permitted-Cross-Domain-Policies": "none",
"X-Xss-Protection": "1; mode=block"
},
"status_code": 200,
"type": "ok"
}
}
]
|