From fcc553d8d84d9505f4b193da54c6b7806fb561e8 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 10 Jan 2019 20:52:23 +0000 Subject: Fix some comments --- dns.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dns.php b/dns.php index a21b00f..39ae506 100644 --- a/dns.php +++ b/dns.php @@ -119,7 +119,7 @@ function writezone($domain, $zonetext, $password = null) { echo "

Zone file will load, but check below for possible warnings:

$zonecheck
"; } - // Reload the zone if we got this far + // Write out the real zone file $zonewrite = sshrun("echo -en \"$zonetext\" > " . ZONEROOT . "$domain" . ZONESUFFIX . " && echo $? || echo $?"); // Remove any trailing newlines from the returned string @@ -133,6 +133,7 @@ function writezone($domain, $zonetext, $password = null) { die(); } + // Reload the zone if we got this far sshrun("rndc reload $domain"); } -- cgit v1.2.3