Get DNS records
GET
/domains/{domain}/dnsRetrieve DNS records of specific domain.
Request
[message.pathParameter]
domain
string
required
Example:
domain.com
Request samples
[api.label.responses]
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
[response.label.jsonSchema]
status
integer
required
Result code
status_description
string
required
Result information
data
object
required
domain
string
required
Domain name
records
array [object {4}]
required
DNS records
[api.label.example]
{
"status": 200,
"status_description": "Request successful",
"data": {
"domain": "domain.com",
"records": [
{
"type": "A",
"name": "domain.com.",
"value": "135.226.123.12",
"ttl": 900
},
{
"type": "AAAA",
"name": "domain.com.",
"value": "2009:21d0:322:6100::5:c92b",
"ttl": 900
},
{
"type": "MX",
"name": "domain.com.",
"value": "10 mail.domain.com.",
"ttl": 900
},
{
"type": "TXT",
"name": "domain.com.",
"value": "v=spf1 include:spf.mijn.host ~all",
"ttl": 900
}
]
}
}
[updatedIn] 4 months ago