Commit c20ff36c authored by Adrian Rossouw's avatar Adrian Rossouw

Use the $records['serial'] in the template we set up, because otherwise we continue

using the LAST serial generated, and in the case of the first execution, NO serial.
parent 7797b8d9
......@@ -5,7 +5,7 @@ $TTL <?php print $server->dns_ttl; ?>
<?php
print("@ IN SOA $server->remote_host $dns_email (
" . $records['@']['SOA']['serial'] . " ; serial
" . $records['serial'] . " ; serial
$server->dns_refresh; refresh
$server->dns_retry ; retry
$server->dns_expire ; expire
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment