Update dns_cron.php

This commit is contained in:
deepend 2024-01-11 08:06:53 +00:00
parent 075ad6377a
commit 6a6d54701f
1 changed files with 124 additions and 123 deletions

View File

@ -37,6 +37,7 @@ function generateDnsFileContent($domain, $ipAddress) {
$content .= ";\n";
$content .= "@ IN NS ns1.master.tilde.\n";
$content .= "@ IN NS ns2.master.tilde.\n";
$content .= "@ IN NS ns3.master.tilde.\n";
$content .= "www IN CNAME $domain\n";
$content .= "@ IN A $ipAddress\n";
$content .= "* IN A $ipAddress\n"; // Wildcard A record