Openminds Sock API
List DNS Records
Returns a list of DNS records for a given subdomain.
URL
/dns_records
Method
GET
Data parameters
Required
user_token=[string]
client_token=[string]
subdomain=[string]
Sample usage
curl -X GET https://sock.openminds.be/api/v1/dns_records -d user_token=1234 -d client_token=5678 -d subdomain=openminds.be
Sample response
[
{
"content": "ns3.openminds.be",
"dns_template_record_id": null,
"id": 366,
"name": null,
"priority": null,
"ttl": 86400,
"type": "NS"
},
{
"content": "ns2.openminds.be hostmaster.openminds.be 24319 2400 4000 406400 9600",
"dns_template_record_id": 206,
"id": 367,
"name": null,
"priority": null,
"ttl": 6400,
"type": "SOA"
}
]