- Home
- API MCP Server
- tools
- dns
- Local Zone File
Local Zone File
GET local zone file from secondary DNS.
| Tool | Description |
|---|---|
f5xc-api-dns-local-zone-file-list | GET Local Zone File. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
dns_zone_name | Name | - |
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Local Zone File resources:
List Local Zone Files
Section titled “List Local Zone Files”“List all local-zone-files in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/local_zone_files" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/local_zone_files/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/local_zone_files" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @local_zone_file.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/local_zone_files/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"