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.
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 |