1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00
openmptcprouter-feeds/openmptcprouter/files/etc/uci-defaults/1940-omr-dns

14 lines
287 B
Text
Raw Normal View History

2018-02-20 16:10:59 +00:00
#!/bin/sh
uci -q batch <<-EOF >/dev/null
set unbound.@unbound[-1].listen_port=5353
2018-02-25 19:16:23 +00:00
set unbound.@unbound[-1].protocol="ip4_only"
set unbound.@unbound[-1].enabled=1
2018-02-20 16:10:59 +00:00
commit unbound
2018-02-23 16:34:34 +00:00
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
2018-02-20 16:10:59 +00:00
commit dhcp
EOF
rm -f /tmp/luci-indexcache
exit 0