mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-29 04:17:07 +00:00
Update dns.sh
This commit is contained in:
parent
634e4e525b
commit
0dd17c7653
@ -65,7 +65,7 @@ done
|
|||||||
echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf;
|
echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf;
|
||||||
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.
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user