DNS-records
DNS-records vermelden, maken, bijwerken en verwijderen. De voorbeelden gebruiken de A2A-codemodus. MCP biedt dezelfde codemodus via het hulpmiddelexecute.
Functies
dns_records.add
dns_records.add.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | dns.record.create | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | dns.record.create |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | POST /v1/public/accounts/{account_id}/dns-records |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
domain | str | ja |
name | str | ja |
type | str | ja |
value | str | ja |
prio | int | null | nee |
ttl | int | nee |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
id | int | ja |
name | str | ja |
ttl | int | ja |
type | str | ja |
value | str | ja |
is_system_managed | bool | nee |
priority | int | null | nee |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
dns_records.delete
dns_records.delete.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | dns.record.delete | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | dns.record.delete |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | DELETE /v1/public/accounts/{account_id}/dns-records/{record_id} |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
record_id | int | ja |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
result | {} | ja |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
dns_records.list
dns_records.list.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | dns.record.view | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | dns.record.view |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | GET /v1/public/accounts/{account_id}/dns-records |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
domain | str | null | nee |
name | str | null | nee |
page | int | nee |
page_size | int | nee |
type | str | null | nee |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
items | [{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}] | ja |
page | int | ja |
page_size | int | ja |
total | int | ja |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
dns_records.update
dns_records.update.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | dns.record.update | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | dns.record.update |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | PATCH /v1/public/accounts/{account_id}/dns-records/{record_id} |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
record_id | int | ja |
disabled | bool | null | nee |
name | str | null | nee |
prio | int | null | nee |
ttl | int | null | nee |
value | str | null | nee |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
id | int | ja |
name | str | ja |
ttl | int | ja |
type | str | ja |
value | str | ja |
is_system_managed | bool | nee |
priority | int | null | nee |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons: