Home / Servers / Linode API / put_domain_record

Update a domain record

An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.

Update a domain record Updates a single Record on this Domain. > --- - __CLI__. linode-cli domains records-update 123 234 \ --name test \ --target 203.0.113.1 \ --priority 50 \ --weight 50 \ --port 80 \ --ttl_sec 604800… [PUT /v4/domains/{domainId}/records/{recordId}]

Name on the gateway: linode_api__put_domain_record · may change things.

Parameters

NameTypeDescription
domainId requiredintegerThe ID of the Domain whose Record you are accessing.
recordId requiredintegerThe ID of the Record you are accessing.
namestring__Filterable__ The name of this Record. For requests, this property's actual…
portintegerThe port this Record points to. Only valid and required for SRV record requests.
priorityintegerThe priority of the target host for this Record. Lower values are preferred.…
protocolstringThe protocol this Record's service communicates with. An underscore (_) is…
servicestringThe name of the service. An underscore (_) is prepended and a period (.) is…
tagissue | issuewild | iodef__Filterable__ The tag portion of a CAA record. Only valid and required for…
targetstring__Filterable__ The target for this Record. For requests, this property's…
ttl_secinteger"Time to Live" - the amount of time in seconds that this Domain's records may…
weightintegerThe relative weight of this Record used in the case of identical priority.…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "linode_api__put_domain_record",
  "arguments": {
    "domainId": 0,
    "recordId": 0
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

Run in your terminal
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update a domain record tool with domainId set to ….

More from Linode API