diff --git a/openmptcprouter/files/etc/uci-defaults/1940-omr-dns b/openmptcprouter/files/etc/uci-defaults/1940-omr-dns index 5f567e3a2..02d0c64b8 100755 --- a/openmptcprouter/files/etc/uci-defaults/1940-omr-dns +++ b/openmptcprouter/files/etc/uci-defaults/1940-omr-dns @@ -65,6 +65,12 @@ if [ "$(uci -q get dhcp.@dnsmasq[0].rebind_domain)" = "" ]; then commit dhcp EOF fi +if [ "$(uci -q get dhcp.@dnsmasq[0].dnsforwardmax)" = "" ]; then + uci -q batch <<-EOF >/dev/null + set dhcp.@dnsmasq[-1].dnsforwardmax='1500' + commit dhcp + EOF +fi if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then uci -q batch <<-EOF >/dev/null uci add_list dhcp.lan.dhcp_option='252,"\n"'