mirror of
https://github.com/luzifer-docker/personal-dns.git
synced 2024-11-09 18:20:02 +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
|
|
)
|