1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

when updating DNS, use /etc/mailinabox.conf

This commit is contained in:
Joshua Tauberer 2013-08-31 18:18:19 +00:00
parent f37a508b74
commit fe02d58b77

1
scripts/dns_update.sh Normal file → Executable file
View File

@ -1,5 +1,6 @@
# Create nsd.conf and zone files, and updates the OpenDKIM signing tables. # Create nsd.conf and zone files, and updates the OpenDKIM signing tables.
source /etc/mailinabox.conf
PUBLIC_IP=`cat $STORAGE_ROOT/dns/our_ip` PUBLIC_IP=`cat $STORAGE_ROOT/dns/our_ip`
# Create the top of nsd.conf. # Create the top of nsd.conf.