diff --git a/src/opnsense/service/templates/OPNsense/Unbound/core/unbound_dhcpd.conf b/src/opnsense/service/templates/OPNsense/Unbound/core/unbound_dhcpd.conf index 8324e6b85..84c04d798 100644 --- a/src/opnsense/service/templates/OPNsense/Unbound/core/unbound_dhcpd.conf +++ b/src/opnsense/service/templates/OPNsense/Unbound/core/unbound_dhcpd.conf @@ -9,7 +9,7 @@ domain={{dhcpd.domain}} {% endif%} {% if 'pool' in dhcpd %} -{% for pool in dhcpd.pool %} +{% for pool in helpers.toList('dhcpd.'+interface+'.pool') %} {% if 'range' in pool and (pool.domain|default('') != '' or dhcpd.domain|default('') != '') %} [range_{{interface}}_pool_{{loop.index}}] start={{pool.range.from}}