mirror of
https://github.com/luzifer-docker/personal-dns.git
synced 2024-12-20 20:51:18 +00:00
11 lines
258 B
Bash
Executable file
11 lines
258 B
Bash
Executable file
#!/usr/local/bin/dumb-init /bin/bash
|
|
set -euxo pipefail
|
|
|
|
# No influx credentials present, don't use metrics sender
|
|
[[ -n ${INFLUX_HOST:-} ]] ||
|
|
exec named -c /etc/bind/named.conf -g
|
|
|
|
# Start bind
|
|
bind-log-metrics <(
|
|
named -c /etc/bind/named.conf -g 2>&1
|
|
)
|