Skip to content
Snippets Groups Projects
Commit 4cd8e971 authored by A. Täffner's avatar A. Täffner
Browse files

kind of cleanup

parent 6909fc50
No related branches found
No related tags found
No related merge requests found
...@@ -13,10 +13,11 @@ Installer ...@@ -13,10 +13,11 @@ Installer
-------------------------------------- --------------------------------------
- Add a function to let a server join a existing installation. - Add a function to let a server join a existing installation.
Change named.options.conf and add follwoing lines into options-brackets for DNSSEC-Implementation: - Change named.options.conf and add follwoing lines into options-brackets for DNSSEC-Implementation:
dnssec-enable yes; dnssec-enable yes;
dnssec-validation yes; dnssec-validation yes;
dnssec-lookaside auto; dnssec-lookaside auto;
- Add Package haveged to requirements as it raises available entropy by more than 1500 which is very needed for DNSSEC Key-generation
Uninstaller Uninstaller
-------------------------------------- --------------------------------------
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
source {dnssec_conffile} source {dnssec_conffile}
pardomain="${1::-1}" pardomain="${1::-1}"
echo "$0 $1 $2 $3 $4 results in domain: $pardomain" > /tmp/.last-call-to-dnssec-update
if [ ! -d $backuppath ]; then mkdir -p $backuppath; fi if [ ! -d $backuppath ]; then mkdir -p $backuppath; fi
#connect to database for testing #connect to database for testing
mysqlcheck=`mysql -u $dbuser --password=$dbpass -h $dbhost -Bse "use $dbase; show tables;" | wc -c` mysqlcheck=`mysql -u $dbuser --password=$dbpass -h $dbhost -Bse "use $dbase; show tables;" | wc -c`
...@@ -15,6 +11,10 @@ if [ "$mysqlcheck" = 0 ];then ...@@ -15,6 +11,10 @@ if [ "$mysqlcheck" = 0 ];then
exit 0 exit 0
fi fi
if [ ! -f .dsset-$pardomain ] ; then
{ispconfig_install_dir}/server/scripts/dnssec-create.sh $pardomain.
fi
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 '}` 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 '}`
echo $mysqlcheck echo $mysqlcheck
zoneid=`echo $mysqlcheck | sed 's/:/ /g' | awk {' print $1 '}` zoneid=`echo $mysqlcheck | sed 's/:/ /g' | awk {' print $1 '}`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment