mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
Properly configure nsd, bump version
This commit is contained in:
parent
3589ac2c06
commit
8ca34e18bd
@ -1,7 +1,7 @@
|
|||||||
(Power) Mail-in-a-Box
|
(Power) Mail-in-a-Box
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
## Current Version: v0.44.POWER.4 (Tracking v0.44)
|
## Current Version: v0.44.POWER.5 (Tracking v0.44)
|
||||||
|
|
||||||
This is a fork of MiaB (duh), hacked and tuned to my needs:
|
This is a fork of MiaB (duh), hacked and tuned to my needs:
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ if [ -z "$TAG" ]; then
|
|||||||
# want to display in status checks.
|
# want to display in status checks.
|
||||||
if [ "`lsb_release -d | sed 's/.*:\s*//' `" == "Debian GNU/Linux 10 (buster)" ]; then
|
if [ "`lsb_release -d | sed 's/.*:\s*//' `" == "Debian GNU/Linux 10 (buster)" ]; then
|
||||||
# This machine is running Ubuntu 18.04.
|
# This machine is running Ubuntu 18.04.
|
||||||
TAG=v0.44.POWER.4
|
TAG=v0.44.POWER.5
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "This script must be run on a system running Debian 10."
|
echo "This script must be run on a system running Debian 10."
|
||||||
|
@ -23,6 +23,7 @@ apt_install ldnsutils openssh-client
|
|||||||
mkdir -p /var/run/nsd
|
mkdir -p /var/run/nsd
|
||||||
mkdir -p /etc/nsd
|
mkdir -p /etc/nsd
|
||||||
mkdir -p /etc/nsd/zones
|
mkdir -p /etc/nsd/zones
|
||||||
|
touch /etc/nsd/zones.conf
|
||||||
touch /etc/nsd/nsd.conf
|
touch /etc/nsd/nsd.conf
|
||||||
|
|
||||||
cat > /etc/nsd/nsd.conf << EOF;
|
cat > /etc/nsd/nsd.conf << EOF;
|
||||||
|
Loading…
Reference in New Issue
Block a user