List local DNS records
unifi_list_dns_recordsLists a UniFi gateway's local DNS records (A, AAAA, CNAME, MX, TXT, SRV, NS) with name, value, TTL, and enabled state so you can audit or troubleshoot local DNS entries.
Instructions
List the gateway's local DNS records (A, AAAA, CNAME, MX, TXT, SRV, NS) with name, value, TTL and enabled state. Network 8.2+ (v2 static-dns). For a public hostname that follows the WAN IP use unifi_list_dynamic_dns.
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": "unifi_list_dns_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name/ID as used in the API (e.g. 'default'). Defaults to the configured site. See unifi_list_sites. | |
| fields | No | Only return these fields per item (dot paths, e.g. uplink.name) | |
| search | No | Case-insensitive substring match on names, MACs, IPs and similar |