mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-20 02:52:11 +00:00
Update dns.sh
This commit is contained in:
parent
0dd17c7653
commit
27b1f68b47
@ -63,10 +63,10 @@ for ip in $PRIVATE_IP $PRIVATE_IPV6; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf;
|
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;
|
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
|
if [ ! -f /etc/nsd/local.conf ]; then
|
||||||
echo "# local zone config" > /etc/nsd/local.conf
|
echo "# local zone config" > /etc/nsd/local.conf
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user