# Hermoso: set_dns_record: Add or change a DNS · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/set_dns_record/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / set_dns_record

# `set_dns_record`

Add or change a DNS record destructive

Area: LAUNCH PAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`domain` required `string` the domain, e.g. yourbrand.com

`type` required `"A" | "AAAA" | "CNAME" | "TXT" | "MX" | "CAA"`

`name` required `string` @, or a subdomain such as mail or _dmarc

`content` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_dns_records](https://hermoso.ai/docs/reference/publish/list_dns_records/) List DNS records of a bought domain
- [delete_dns_record](https://hermoso.ai/docs/reference/publish/delete_dns_record/) Delete a DNS record
- [set_email_forwarding](https://hermoso.ai/docs/reference/publish/set_email_forwarding/) Forward email on a bought domain
- [connect_email_provider](https://hermoso.ai/docs/reference/publish/connect_email_provider/) Connect an email provider to a bought domain
- [transfer_out](https://hermoso.ai/docs/reference/publish/transfer_out/) Move a domain to another registrar
- [create_domain_address](https://hermoso.ai/docs/reference/publish/create_domain_address/) Add an email address to a domain
- [renew_domain](https://hermoso.ai/docs/reference/publish/renew_domain/) Renew a domain now
- [list_domain_mail](https://hermoso.ai/docs/reference/publish/list_domain_mail/) List domain inbox email
- [set_domain_autorenew](https://hermoso.ai/docs/reference/publish/set_domain_autorenew/) Turn domain auto-renew on or off
- [get_domain_mail](https://hermoso.ai/docs/reference/publish/get_domain_mail/) Read a domain inbox conversation

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
