Skip to content

Commit

Permalink
[dnsmasq] allow passing params to dnsmasq by DNSMASQ_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Sep 12, 2017
1 parent 342d6d0 commit d2568e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apicast/.s2i/bin/run
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ else
apicast=apicast
fi

dnsmasq --listen-address=127.0.0.1 --all-servers --no-host --no-hosts --log-facility=- --cache-size=1000 --port=5353 --no-negcache --server="${RESOLVER:-}"
dnsmasq --listen-address=127.0.0.1 --port=5353 \
--all-servers --no-host --no-hosts \
--cache-size=1000 --no-negcache \
--server="${RESOLVER:-}" \
--log-facility=- ${DNSMASQ_OPTIONS:-} \

export RESOLVER=127.0.0.1:5353

exec "${apicast}" "$@"

0 comments on commit d2568e0

Please sign in to comment.