Run on production ports

This commit is contained in:
David Blacka 2023-02-26 11:26:21 -05:00
parent 2e991bdcd7
commit 3cb1ab4dc8

View File

@ -1,8 +1,8 @@
#! /bin/bash #! /bin/bash
BASE_CONF_DIR=/etc/bind BASE_CONF_DIR=/etc/bind
: "${DNS_PORT:=55}" # non-production default : "${DNS_PORT:=53}"
: "${RNDC_PORT:=955}" # non-produciton default : "${RNDC_PORT:=953}"
CMD="/etc/bind/run.sh" CMD="/etc/bind/run.sh"
[ "$1" = "interactive" ] && ARGS="-ti --entrypoint=/bin/bash" && CMD="" [ "$1" = "interactive" ] && ARGS="-ti --entrypoint=/bin/bash" && CMD=""