opn_list_dnsmasq_ranges
List dnsmasq DHCP ranges (IPv4 and IPv6) with interface, subnet, and RA settings.
Instructions
List dnsmasq DHCP ranges (both DHCPv4 and DHCPv6 with RA config).
Use this to see configured DHCP address pools and Router Advertisement settings for each interface. Both IPv4 and IPv6 ranges appear in the same list.
Key fields: interface, start_addr, end_addr, prefix_len (IPv6) or subnet_mask (IPv4), ra_mode (slaac/ra-stateless/ra-only), ra_priority, lease_time, enabled.
Note: Requires the dnsmasq DNS/DHCP server (os-dnsmasq-dns or built-in). Returns: dict with 'rows' (list of ranges) and 'rowCount' (total).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||