Add DNS record
dns_add_recordAdd a DNS record to a domain's zone on Sitequest's nameservers. It is added next to existing records of the same name and type, never replacing one: check dns_list_records first to avoid duplicates, use dns_edit_record to change a value and dns_delete_record to remove one. Only served while the domain uses Sitequest's nameservers (see domain_get). No CNAME at the apex or beside other records of the same name; one SPF TXT record per name. Resolvers see the change within minutes; a replaced record can be cached up to its old TTL.
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": {
"id": "<id>",
"type": "<type>",
"name": "<name>",
"ttl": "<ttl>",
"data": "<data>"
},
"name": "dns_add_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The domain ID | |
| ttl | Yes | Time to live in seconds, at least 60. 3600 is usual; use 300 before a planned change | |
| data | Yes | Record value: an IPv4 address for A, IPv6 for AAAA, a hostname for CNAME, ALIAS and NS, the text for TXT | |
| name | Yes | Record name relative to the domain: '@' for the domain itself, 'www' for www.<domain>, '_dmarc' for _dmarc.<domain> | |
| type | Yes | DNS record type |