docker-pdns/pdns-recursor/docker-cmd.sh
Steve HOLWEG 1fddeda864 Pdns recursor (#6)
* Adding pdns recursor

* Adding pdns recursor with fedora

* pdns resolver version correction

* Update readme for pdns-recursor
2017-12-11 14:18:10 +01:00

14 lines
277 B
Bash
Executable file

#!/bin/sh
set -euo pipefail
# Configure base vars
: "${PDNS_local_port:=53}"
: "${PDNS_local_address:=0.0.0.0}"
export PDNS_local_port PDNS_local_address
# Create config file from template
envtpl < /recursor.conf.tpl > /etc/pdns/recursor.conf
exec /usr/sbin/pdns_recursor