test using dnsmasq as sole resolver

This commit is contained in:
Karol Wypchlo 2021-06-23 14:23:28 +02:00
parent 6657a27e58
commit b382b1a53a
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ ENV NODE_ENV production
# 4. start the health-check api service
CMD [ "sh", "-c", \
"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) ; \
dnsmasq --server=127.0.0.11 --address=/siasky.net/$(node src/whatismyip.js) ; \
crond ; \
node --max-http-header-size=64000 src/index.js" \
]