Update a temporary DNS name
update_dns_nameChange the address a temporary DNS name points at. Needs the dns_token from create_dns_name. Use it when the machine behind the name moved and you would rather keep the name than hand out a new one. The expiry does not move: the name still disappears 24 hours after it was created. One change per name per 10 seconds.
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": {
"slug": "<slug>",
"dns_token": "<dns_token>"
},
"name": "update_dns_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | A public unicast IPv4 or IPv6 address. Private, loopback, link-local and multicast ranges are refused. The address is required and never taken from the caller, because the caller is usually not the machine the name should point at. | |
| ttl | No | Seconds. 60 is the only value on the menu, so leave it out unless you want to be explicit. | |
| slug | Yes | The slug the service assigned, without the aisense- prefix and without the zone. | |
| dns_token | Yes | The dns_token from create_dns_name. It is shown once and never again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| ok | Yes | ||
| ttl | Yes | ||
| name | Yes | ||
| slug | Yes | ||
| record | Yes | ||
| serial | No | ||
| expire_at | Yes | ||
| nameservers | Yes | ||
| expire_timestamp | Yes | ||
| created_at_timestamp | No |