1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-19 02:42:15 +00:00

Update dns.sh

This commit is contained in:
Joshua Tauberer 2021-09-11 08:47:04 -04:00 committed by GitHub
parent 0dd17c7653
commit 27b1f68b47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,10 +63,10 @@ for ip in $PRIVATE_IP $PRIVATE_IPV6; do
done
echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf;
# Create a placeholder file for local additions to nsd.conf that
# won't be overwritten by this setup script. The file must exist.
echo "include: /etc/nsd/local.conf" >> /etc/nsd/nsd.conf;
# NSD requires all include files to exist; ensure we have a local.conf.
if [ ! -f /etc/nsd/local.conf ]; then
echo "# local zone config" > /etc/nsd/local.conf
fi