Add a DNS record
add_dns_recordAdd one DNS record (A, AAAA, CNAME, MX, TXT or SRV) to a domain on the account whose DNS is managed at GlobalHostia. Name is relative to the domain ("@" for the domain itself, "www", "_dmarc").
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>",
"type": "<type>",
"name": "<name>",
"value": "<value>"
},
"name": "add_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| name | Yes | "@" for the domain itself, or a host such as www | |
| port | No | SRV | |
| type | Yes | ||
| value | Yes | ||
| domain | Yes | A domain on your account, e.g. mybrand.com | |
| weight | No | SRV | |
| priority | No | MX and SRV |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | No | ||
| domain | No |