Home / Servers / Linode API / post_domain_record
Create a domain record
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Create a domain record Adds a new Domain Record to the zonefile this Domain represents. Each domain can have up to 12,000 active records. > --- - __CLI__. linode-cli domains records-create 123 \ --type A \ --name test \… [POST /v4/domains/{domainId}/records]
Name on the gateway: linode_api__post_domain_record · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
domainId required | integer | The ID of the Domain we are accessing Records for. |
created | string | __Read-only__ When this Domain Record was created. |
id | integer | __Read-only__ This Record's unique ID. |
name | string | __Filterable__ The name of this Record. For requests, this property's actual… |
port | integer | The port this Record points to. Only valid and required for SRV record requests. |
priority | integer | The priority of the target host for this Record. Lower values are preferred.… |
protocol | string | The protocol this Record's service communicates with. An underscore (_) is… |
service | string | The name of the service. An underscore (_) is prepended and a period (.) is… |
tag | issue | issuewild | iodef | __Filterable__ The tag portion of a CAA record. Only valid and required for… |
target | string | __Filterable__ The target for this Record. For requests, this property's… |
ttl_sec | integer | "Time to Live" - the amount of time in seconds that this Domain's records may… |
type required | A | AAAA | NS | MX | CNAME | TXT | SRV | PTR | CAA | __Filterable__ The type of Record this is in the DNS system. For example, A… |
updated | string | __Read-only__ When this Domain Record was last updated. |
weight | integer | The 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:
{
"name": "linode_api__post_domain_record",
"arguments": {
"domainId": 0,
"type": "…"
}
}Or connect the Linode API server directly, which lists 439 tools including this one:
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 create a domain record tool with domainId set to ….