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