uci set unbound.@unbound[0].dhcp_link="dnsmasq"
uci set unbound.@unbound[0].domain="lan"
uci set unbound.@unbound[0].listen_port="53"
uci commit unbound
service unbound restart
uci set dhcp.dnsmasq.domain="lan"
uci set dhcp.dnsmasq.noresolv="1"
uci set dhcp.dnsmasq.port="1053"
uci set dhcp.dnsmasq.resolvfile="/tmp/resolv.conf.auto"
uci set dhcp.lan.dhcp_option="option:dns-server,0.0.0.0"
uci commit dhcp
service dnsmasq restart
Can everyone help me see what is wrong that causes the script not to work?