diff options
Diffstat (limited to 'dns.php')
| -rw-r--r-- | dns.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,7 @@ function writezone($domain, $zonetext, $password = null) { echo "<p>Zone file will load, but check below for possible warnings:</p><pre>$zonecheck</pre>"; } - // 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"); } |
