unifi_list_dns_policies
Retrieve DNS policies for a UniFi site, including local DNS records and forward rules served by the gateway. Specify site ID and optional filters to inspect enabled records and their types.
Instructions
List DNS policies (local DNS records and forward rules served by the gateway) at a site. Returns: id, type (A_RECORD, AAAA_RECORD, CNAME_RECORD, MX_RECORD, TXT_RECORD, SRV_RECORD, FORWARD_DOMAIN), enabled, domain, ipv4Address, ttlSeconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of records to return (default: 25, max: 200) | |
| filter | No | Filter expression | |
| offset | No | Number of records to skip (default: 0) | |
| siteId | Yes | Site ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| count | No | ||
| limit | No | ||
| offset | No | ||
| totalCount | No |