From 6657a27e585201569ff4074a2da6a150772dd97c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 23 Jun 2021 14:19:27 +0200 Subject: [PATCH] test using dnsmasq as sole resolver --- packages/health-check/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index 3fd26408..2acf5dc6 100644 --- a/packages/health-check/Dockerfile +++ b/packages/health-check/Dockerfile @@ -23,8 +23,8 @@ ENV NODE_ENV production # 3. start crond in the background # 4. start the health-check api service CMD [ "sh", "-c", \ - "echo -e \"nameserver 127.0.0.1\n$(cat /etc/resolv.conf)\" > /etc/resolv.conf ; \ - dnsmasq --strict-order --no-resolv --address=/siasky.net/$(node src/whatismyip.js) ; \ + "echo -e \"nameserver 127.0.0.1\noptions ndots:0\" > /etc/resolv.conf ; \ + dnsmasq --server=127.0.0.1 --address=/siasky.net/$(node src/whatismyip.js) ; \ crond ; \ node --max-http-header-size=64000 src/index.js" \ ]