mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-14 12:17:57 +01:00
15 lines
277 B
Bash
15 lines
277 B
Bash
|
#!/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
|