luci-mod-network: Allow the 'dns' entry under the DHCP tab to take IPv4+6
authorPaul Donald <[email protected]>
Mon, 27 Oct 2025 17:18:58 +0000 (18:18 +0100)
committerPaul Donald <[email protected]>
Tue, 28 Oct 2025 17:16:42 +0000 (18:16 +0100)
commita010a1bfcd0126194f8516f8662b3584f236b866
treed2db6e975dfb1bc14986549da06a8d2dcd76f489
parent80a0abb54fb91612ffa5ca55058a846b6e9a8c84
luci-mod-network: Allow the 'dns' entry under the DHCP tab to take IPv4+6

This option is used by odhcpd. It can take IPv4/6 entries, although IPv4 DNS
servers don't always make sense in an IPv6 environment, they might in a dual
stack environment. Entering an IPv4 here results in its distribution via IPv6.

This option becomes more useful for both families when odhcpd handles IPv4+6.

Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js