mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Add plex to bypass rebind
This commit is contained in:
parent
965a08057b
commit
ba80b45579
1 changed files with 9 additions and 6 deletions
|
@ -16,12 +16,15 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
uci -q batch <<-EOF >/dev/null
|
if [ "$(uci -q get dhcp.@dnsmasq[0].rebind_domain)" = "" ]; then
|
||||||
set dhcp.@dnsmasq[-1].noresolv=1
|
uci -q batch <<-EOF >/dev/null
|
||||||
set dhcp.@dnsmasq[-1].nonegcache=1
|
set dhcp.@dnsmasq[-1].noresolv=1
|
||||||
del dhcp.@dnsmasq[-1].interface
|
set dhcp.@dnsmasq[-1].nonegcache=1
|
||||||
commit dhcp
|
del dhcp.@dnsmasq[-1].interface
|
||||||
EOF
|
add_list dhcp.@dnsmasq[-1].rebind_domain="plex.direct"
|
||||||
|
commit dhcp
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
#uci -q batch <<-EOF >/dev/null
|
#uci -q batch <<-EOF >/dev/null
|
||||||
# set unbound.@unbound[-1].add_local_fqdn=0
|
# set unbound.@unbound[-1].add_local_fqdn=0
|
||||||
# set unbound.@unbound[-1].localservice=1
|
# set unbound.@unbound[-1].localservice=1
|
||||||
|
|
Loading…
Reference in a new issue