diff --git a/server/mods-available/dns_module.inc.php b/server/mods-available/dns_module.inc.php
index 4ea5d0957bb3a4e39b6960c6130fb9ea8bf0779e..0ff7c1f44f00d5b6f089e97bfdc7411bd04d720c 100644
--- a/server/mods-available/dns_module.inc.php
+++ b/server/mods-available/dns_module.inc.php
@@ -166,7 +166,7 @@ class dns_module {
 */
 		file_put_contents('/etc/powerdns/pdns.d/pdns.ispconfig-axfr',$options."\n");
 
-		daemon= '';
+		$daemon= '';
 		if (is_file($conf['init_scripts'] . '/' . 'powerdns')) {
 			$daemon = 'powerdns';
 		} else {