mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +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
|
||||
fi
|
||||
fi
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
if [ "$(uci -q get dhcp.@dnsmasq[0].rebind_domain)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set dhcp.@dnsmasq[-1].noresolv=1
|
||||
set dhcp.@dnsmasq[-1].nonegcache=1
|
||||
del dhcp.@dnsmasq[-1].interface
|
||||
add_list dhcp.@dnsmasq[-1].rebind_domain="plex.direct"
|
||||
commit dhcp
|
||||
EOF
|
||||
EOF
|
||||
fi
|
||||
#uci -q batch <<-EOF >/dev/null
|
||||
# set unbound.@unbound[-1].add_local_fqdn=0
|
||||
# set unbound.@unbound[-1].localservice=1
|
||||
|
|
Loading…
Reference in a new issue