mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Add DNS config
This commit is contained in:
parent
1de17a4886
commit
6dcc086948
1 changed files with 11 additions and 0 deletions
11
openmptcprouter/files/etc/uci-defaults/1940-omr-dns
Executable file
11
openmptcprouter/files/etc/uci-defaults/1940-omr-dns
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
uci -q batch <<-EOF >/dev/null
|
||||||
|
set unbound.@unbound[-1].listen_port=5353
|
||||||
|
commit unbound
|
||||||
|
add_list dhcp.@dnsmasq[-1].server=127.0.0.1#5353
|
||||||
|
commit dhcp
|
||||||
|
EOF
|
||||||
|
rm -f /tmp/luci-indexcache
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in a new issue