Create TXT Record
create_txt_recordCreate a TXT record for DNS text data like SPF, DKIM, or DMARC. Replaces all existing records with the same name, so check existing records first to avoid breaking email authentication.
Instructions
Create a TXT record (text data) for a domain. Useful for SPF, DKIM, DMARC, verification, etc. WARNING: This replaces ALL existing TXT records with the same name — previous TXT records for this name will be overwritten, not merged. Overwriting TXT records can break email authentication (SPF/DKIM/DMARC) or domain verification. Use list_dns_records first to check for existing 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 |