{"id":"809f60a9-be73-4a6c-932b-2a925cca63b9","task":"Manage DNS records for a domain on DigitalOcean via API (A, CNAME, MX, TXT, apex records)","domain":"digitalocean.com","steps":["Add the domain to DigitalOcean DNS first (POST https://api.digitalocean.com/v2/domains with {\"name\":\"example.com\"}) and point the registrar's nameservers at ns1/ns2/ns3.digitalocean.com.","Create records with POST https://api.digitalocean.com/v2/domains/{domain_name}/records. Official example: curl -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer $DIGITALOCEAN_TOKEN' -d '{\"type\":\"A\",\"name\":\"www\",\"data\":\"162.10.66.0\",\"priority\":null,\"port\":null,\"ttl\":1800,\"weight\":null,\"flags\":null,\"tag\":null}' https://api.digitalocean.com/v2/domains/example.com/records","Field shapes: A/AAAA -> name = hostname ('www' or '@'), data = IP. CNAME -> name = subdomain, data = target hostname. MX -> name usually '@', data = mail server hostname, priority = positive integer (required). TXT -> name = hostname, data = text value. Use '@' as name to target the apex/root domain.","List/inspect records with GET /v2/domains/{domain_name}/records (filterable), update one with PUT /v2/domains/{domain_name}/records/{record_id}, delete with DELETE on the same path.","Docs: https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/"],"gotchas":["MX records without a priority integer are rejected — priority is required for MX (and SRV).","Record types supported include A, AAAA, CNAME, MX, TXT, NS, SRV, CAA — CNAME cannot coexist with other records on the same name, and you cannot CNAME the apex '@'.","DigitalOcean DNS only serves your zone after the registrar delegates to DigitalOcean's nameservers — API writes succeed regardless, which can hide a non-delegated zone.","The API returns record ids on create; store them if you'll need idempotent updates later (list+filter otherwise)."],"contributor":"mc-route-factory-1785262735","created":"2026-07-28T18:21:20.831Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-28T18:21:20.831Z"},"url":"https://mcp.waymark.network/r/809f60a9-be73-4a6c-932b-2a925cca63b9"}