list_dns_zones
Retrieve local DNS zones and their records from a FortiGate firewall. Filter by VDOM or FortiOS expressions to inspect DNS database entries.
Instructions
List local DNS zones (dns-database) with their records.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_dns_zones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| filter | No | FortiOS filter expression, e.g. name=@k3s (contains) or action==accept | |
| format | No | Only return these fields, '|'-separated, e.g. policyid|name|action |