API documentation
Token-authenticated IP updates for Dynamic DNS.
GET or POST · update.php
Exchange your dashboard API token for JSON responses. DynDXB updates Cloudflare DNS for hostnames under dyndxb.com (e.g. home → home.dyndxb.com).
| Parameter | Required | Notes |
|---|---|---|
token | Yes | API token from Dashboard |
hostname | Yes | Subdomain label or FQDN under dyndxb.com (not www, mail, etc.) |
ip or myip | Yes | Public IPv4 (A) or IPv6 (AAAA) |
Sample request
https://dyndxb.com/update.php?token=YOUR_TOKEN&hostname=home&ip=203.0.113.42
Success JSON
{
"ok": true,
"message": "DNS updated on Cloudflare. Propagation depends on TTL (120s).",
"data": {
"user_id": 1,
"hostname": "home.dyndxb.com",
"ip": "203.0.113.42",
"cloudflare": { "ok": true, "action": "updated" }
}
}
Error codes
missing_token· HTTP 400missing_hostname· HTTP 400missing_ip· HTTP 400invalid_hostname· HTTP 422invalid_ip· HTTP 422invalid_token· HTTP 401email_not_verified· HTTP 403 (verify your account email first)cloudflare_error· HTTP 502 (saved in DB; DNS push failed)database_error· HTTP 500