diff --git a/dnsmasq/Dockerfile b/dnsmasq/Dockerfile index 35393e0..3904c08 100644 --- a/dnsmasq/Dockerfile +++ b/dnsmasq/Dockerfile @@ -4,7 +4,7 @@ FROM %%BASE_IMAGE%% ENV LANG C.UTF-8 # Setup base -RUN apk add --no-cache tzdata jq dnsmasq +RUN apk add --no-cache jq dnsmasq # Copy data COPY run.sh / diff --git a/dnsmasq/config.json b/dnsmasq/config.json index c0b66c8..16dd55d 100644 --- a/dnsmasq/config.json +++ b/dnsmasq/config.json @@ -1,6 +1,6 @@ { "name": "Dnsmasq server", - "version": "0.2", + "version": "0.3", "slug": "dnsmasq", "description": "A simple dns server with benefits", "url": "https://home-assistant.io/addons/dnsmasq/", diff --git a/dnsmasq/dnsmasq.conf b/dnsmasq/dnsmasq.conf index 60d06c7..ffd98e9 100644 --- a/dnsmasq/dnsmasq.conf +++ b/dnsmasq/dnsmasq.conf @@ -4,3 +4,4 @@ keep-in-foreground log-queries log-facility=- no-poll +user=root diff --git a/duckdns/Dockerfile b/duckdns/Dockerfile index d593a67..e860e7f 100644 --- a/duckdns/Dockerfile +++ b/duckdns/Dockerfile @@ -4,7 +4,7 @@ FROM %%BASE_IMAGE%% ENV LANG C.UTF-8 # Setup base -RUN apk add --no-cache tzdata jq curl +RUN apk add --no-cache jq curl # Copy data COPY run.sh / diff --git a/duckdns/config.json b/duckdns/config.json index 978469f..fea63c1 100644 --- a/duckdns/config.json +++ b/duckdns/config.json @@ -1,6 +1,6 @@ { "name": "Duck DNS", - "version": "0.5", + "version": "0.6", "slug": "duckdns", "description": "Free dynamic DNS hosted on Amazon VPC", "url": "https://home-assistant.io/addons/duckdns/", diff --git a/duckdns/run.sh b/duckdns/run.sh index f7072a5..c51ac85 100644 --- a/duckdns/run.sh +++ b/duckdns/run.sh @@ -9,7 +9,7 @@ WAIT_TIME=$(jq --raw-output '.seconds' $CONFIG_PATH) # Run duckdns while true; do - ANSWER="$(curl -sk "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&ip=&verbose=true")" + ANSWER="$(curl -sk "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&ip=&verbose=true")" || true echo "$(date): $ANSWER" sleep "$WAIT_TIME" done