What would you like to see in luci?
Commit openwrt/openwrt@d0f6a51 added support for setting dnsmasq dhcp-option-force= options using the a dhcp_option_force UCI list, which works exactly the same as the dhcp_option list.
I believe that adding support for this to LuCI should be as simple as adding a new DynamicList below the existing one here:
|
ss.taboption('advanced', form.DynamicList, 'dhcp_option', _('DHCP-Options'), _('Define additional DHCP options, for example "<code>6,192.168.2.1,192.168.2.2</code>" which advertises different DNS servers to clients.')); |
The dnsmasq man page describes the dhcp-option-force option as such:
This works in exactly the same way as --dhcp-option except that the option will always be sent, even if the client does not ask for it in the parameter request list. This is sometimes needed, for example when sending options to PXELinux.
What would you like to see in luci?
Commit openwrt/openwrt@d0f6a51 added support for setting dnsmasq
dhcp-option-force=options using the adhcp_option_forceUCI list, which works exactly the same as thedhcp_optionlist.I believe that adding support for this to LuCI should be as simple as adding a new DynamicList below the existing one here:
luci/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
Line 756 in 545de2a
The dnsmasq man page describes the
dhcp-option-forceoption as such: