Add DNS record
add_dns_recordAdd a DNS record without overwriting existing records of the same type. Preserves current entries while appending new ones.
Instructions
Add a DNS record without overwriting existing records of the same type (PATCH). Use replace_dns_records instead when exactly one record should exist.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"record_type": "<record_type>",
"name": "<name>",
"data": "<data>"
},
"name": "add_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Time-to-live in seconds (default 3600) | |
| data | Yes | Record value — IP address, hostname, text, ... | |
| name | Yes | Record name/subdomain — use "@" for the apex/root record | |
| domain | Yes | The root domain, e.g. "example.com" | |
| priority | No | Priority for MX/SRV records (ignored for other types) | |
| record_type | Yes | DNS record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, ... |