Create domain record
documentedCreate a DNS record for a domain.
POST /v2/domains/{domain_name}/recordsDomainsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.digitalocean.com/v2/domains/{{$domain_name}}/records" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{DIGITALOCEAN_API_KEY}}" \
-d '{"type":"{{$type}}","name":"{{$name}}","data":"{{$data}}","priority":{{$priority}},"port":{{$port}},"ttl":{{$ttl}},"weight":{{$weight}},"flags":{{$flags}},"tag":"{{$tag}}"}'