Enable external DNS service

This commit is contained in:
Samuel Huang
2025-12-08 11:26:32 +11:00
parent 4af6760cd6
commit c6095ab1e7

2
run.sh
View File

@@ -196,6 +196,8 @@ if [ -n "${DNSLOCAL}" ]; then
done
fi
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
jq -n "$Jroot"