Skip to content

Commit eaafeeb

Browse files
author
A. Täffner
committed
kind of cleanup
1 parent 36bc9f1 commit eaafeeb

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

TODO.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ Installer
1313
--------------------------------------
1414

1515
- Add a function to let a server join a existing installation.
16-
Change named.options.conf and add follwoing lines into options-brackets for DNSSEC-Implementation:
16+
- Change named.options.conf and add follwoing lines into options-brackets for DNSSEC-Implementation:
1717
dnssec-enable yes;
1818
dnssec-validation yes;
1919
dnssec-lookaside auto;
20+
- Add Package haveged to requirements as it raises available entropy by more than 1500 which is very needed for DNSSEC Key-generation
2021

2122
Uninstaller
2223
--------------------------------------

install/tpl/dnssec-update.sh.master

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
source {dnssec_conffile}
33
pardomain="${1::-1}"
44

5-
echo "$0 $1 $2 $3 $4 results in domain: $pardomain" > /tmp/.last-call-to-dnssec-update
6-
7-
8-
95
if [ ! -d $backuppath ]; then mkdir -p $backuppath; fi
106
#connect to database for testing
117
mysqlcheck=`mysql -u $dbuser --password=$dbpass -h $dbhost -Bse "use $dbase; show tables;" | wc -c`
@@ -15,6 +11,10 @@ if [ "$mysqlcheck" = 0 ];then
1511
exit 0
1612
fi
1713

14+
if [ ! -f .dsset-$pardomain ] ; then
15+
{ispconfig_install_dir}/server/scripts/dnssec-create.sh $pardomain.
16+
fi
17+
1818
mysqlcheck=`mysql -u $dbuser --password=$dbpass -h $dbhost -Bse "use $dbase; select id,serial from dns_soa where active='Y' and origin='$pardomain.';" | awk {' print $1":"$2 '}`
1919
echo $mysqlcheck
2020
zoneid=`echo $mysqlcheck | sed 's/:/ /g' | awk {' print $1 '}`

0 commit comments

Comments
 (0)