Create TXT Record
create_txt_recordAdd TXT records to a domain for SPF, DKIM, DMARC, or verification while preserving existing same-name records and preventing duplicate values.
Instructions
Add a TXT record (text data) to a domain. Useful for SPF, DKIM, DMARC, and domain verification (e.g. Vercel's _vercel TXT). Existing TXT records with the same name are kept; the new value is added alongside them, and an identical value is not duplicated. To change or remove a TXT value, use save_dns_records or delete_dns_records after checking list_dns_records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds | |
| name | Yes | Record name (subdomain, use "@" for root) | |
| value | Yes | Text value (e.g. "v=spf1 include:example.com -all") | |
| domain | Yes | The domain name |