This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
UPSTREAM_DNS=${UPSTREAM_DNS:-8.8.8.8}
|
||||||
|
|
||||||
|
sed -i s%#server=/localnet/192.168.0.1%server=$UPSTREAM_DNS% /etc/dnsmasq.conf
|
||||||
|
|
||||||
dnsmasq -k &
|
dnsmasq -k &
|
||||||
|
|
||||||
FILE="/etc/dnsmasq.d/hosts.local"
|
FILE="/etc/dnsmasq.d/hosts.local"
|
||||||
|
Reference in New Issue
Block a user