mirror of
https://github.com/samuelhbne/proxy-xray.git
synced 2025-12-16 20:27:06 +03:00
Enable external DNS service
This commit is contained in:
2
run.sh
2
run.sh
@@ -196,6 +196,8 @@ if [ -n "${DNSLOCAL}" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
echo -e "no-resolv\nserver=127.0.0.1#5353" >/etc/dnsmasq.d/upstream.conf
|
echo -e "no-resolv\nserver=127.0.0.1#5353" >/etc/dnsmasq.d/upstream.conf
|
||||||
|
# Enable external DNS service instead of sereve localy
|
||||||
|
sed -i 's/^[[:space:]]*local-service/# &/' /etc/dnsmasq.conf
|
||||||
/usr/sbin/dnsmasq
|
/usr/sbin/dnsmasq
|
||||||
|
|
||||||
jq -n "$Jroot"
|
jq -n "$Jroot"
|
||||||
|
|||||||
Reference in New Issue
Block a user