set_dns_record
Add or change a DNS record destructive
Description
Add a DNS record to a domain bought through Hermoso, or change one (pass id): a TXT to verify Google or another service, MX for a mail provider, a CNAME or A for a third-party tool, CAA. name is @ for the domain itself or a subdomain. Records serving the page or the email forwarding are refused with the way out. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
domainrequired | string | the domain, e.g. yourbrand.com |
typerequired | "A" | "AAAA" | "CNAME" | "TXT" | "MX" | "CAA" | |
namerequired | string | @, or a subdomain such as mail or _dmarc |
contentrequired | string | the value: an IP, a host name or the TXT text |
ttl | number | seconds, 60-86400; default auto |
priority | number | MX only, default 10 |
proxied | boolean | A/AAAA/CNAME through our network (CDN and HTTPS proxy); default false |
id | string | change this record (list_dns_records) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_dns_record.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_dns_record","arguments":{"domain":"<string>","type":"<one of the listed values>","name":"<string>","content":"<string>"}}}
CLI
hermoso call set_dns_record --json '{"domain":"<string>","type":"<one of the listed values>","name":"<string>","content":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_dns_recordsList DNS records of a bought domaindelete_dns_recordDelete a DNS recordset_email_forwardingForward email on a bought domainconnect_email_providerConnect an email provider to a bought domaintransfer_outMove a domain to another registrarcreate_domain_addressAdd an email address to a domainrenew_domainRenew a domain nowlist_domain_mailList domain inbox emailset_domain_autorenewTurn domain auto-renew on or offget_domain_mailRead a domain inbox conversation