curl --location --request GET 'https://dash.ryzehosting.com/api/v2/domain/dns-records' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain_id": "019b1ace-4a2b-819c-8fe2-7c2bb2e514f6"
}'{
"response": "Successfully fetched DNS records",
"state": "success",
"code": 200,
"data": {
"records": [
{
"name": "www",
"type": "CNAME",
"data": "example.com."
},
{
"name": "@",
"type": "AAAA",
"data": "2001:db8:85a3::8a2e:370:7334"
},
{
"name": "@",
"type": "TXT",
"data": "v=spf1 include:_spf.example.com ~all"
},
{
"name": "@",
"type": "MX",
"data": "10 mail.example.com."
},
{
"name": "@",
"type": "A",
"data": "192.168.1.1"
}
],
"domain": "last-try.bond"
}
}