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 changed files with 1 additions and 0 deletions

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.
source /etc/mailinabox.conf
PUBLIC_IP=`cat $STORAGE_ROOT/dns/our_ip`
# Create the top of nsd.conf.