mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fixdns
This commit is contained in:
parent
9821422eed
commit
b61837caff
2 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,7 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
|||
if [ "$(uci -q show dhcp | grep 127.0.0.1#5353)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
|
||||
add_list dhcp.@dnsmasq[-1].server='8.8.8.8'
|
||||
add_list dhcp.@dnsmasq[-1].server="/lan/"
|
||||
set dhcp.@dnsmasq[-1].dnssec='1'
|
||||
commit dhcp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue