From 699261cc899e8d8f2c3c8132594e9b3f25686990 Mon Sep 17 00:00:00 2001 From: Gyurix Date: Wed, 5 Mar 2025 12:26:53 +0100 Subject: [PATCH] update to multiarch --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 725b5de..20c1b40 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,9 @@ #!/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 & FILE="/etc/dnsmasq.d/hosts.local"