mirror of
https://github.com/luzifer-docker/personal-dns.git
synced 2024-09-18 20:32:56 +00:00
12 lines
258 B
Bash
Executable File
12 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
|
|
)
|