File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff 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
2122Uninstaller
2223--------------------------------------
Original file line number Diff line number Diff line change 22source {dnssec_conffile}
33pardomain=" ${1::- 1} "
44
5- echo " $0 $1 $2 $3 $4 results in domain: $pardomain " > /tmp/.last-call-to-dnssec-update
6-
7-
8-
95if [ ! -d $backuppath ]; then mkdir -p $backuppath ; fi
106# connect to database for testing
117mysqlcheck=` 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
1612fi
1713
14+ if [ ! -f .dsset-$pardomain ] ; then
15+ {ispconfig_install_dir}/server/scripts/dnssec-create.sh $pardomain .
16+ fi
17+
1818mysqlcheck=` 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 ' }`
You can’t perform that action at this time.
0 commit comments