From d70d7f273e44e14db10c210fcd15283877b3b70f Mon Sep 17 00:00:00 2001 From: deepend Date: Thu, 11 Apr 2024 14:17:54 -0600 Subject: [PATCH] changes. --- dns_cron.php | 1 - includes/main.php | 5 ++--- webchangelog.log | 10 ++++++++++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/dns_cron.php b/dns_cron.php index 3353030..306245a 100644 --- a/dns_cron.php +++ b/dns_cron.php @@ -37,7 +37,6 @@ 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 diff --git a/includes/main.php b/includes/main.php index c1e7fe9..f4eef20 100644 --- a/includes/main.php +++ b/includes/main.php @@ -13,13 +13,12 @@ if (isset($_GET['action']) && $_GET['action'] == 'logout') { function getDnsServersInfo() { $masterFile = '../dottilde/db.master.tilde'; $servers = []; - $nsFilter = ['ns1', 'ns2', 'ns3']; // Add more nameserver identifiers as needed + $nsFilter = ['ns1', 'ns2']; // Add more nameserver identifiers as needed // Manually assigned geographical areas for each nameserver $nsGeographicalAreas = [ 'ns1' => 'Quebec, Canada', // Replace with actual locations 'ns2' => 'Frankfurt, Germany', - 'ns3' => 'Sydney, Australia', // Add more as needed ]; @@ -145,4 +144,4 @@ function checkServerStatus($server) { - \ No newline at end of file + diff --git a/webchangelog.log b/webchangelog.log index 30221ad..5f9fdf7 100644 --- a/webchangelog.log +++ b/webchangelog.log @@ -1 +1,11 @@ 2024-01-13 13:12:01 - Updated named.conf.local +2024-02-06 21:47:20 - Updated named.conf.local +2024-03-03 20:35:26 - Updated or created DNS file: db.thunix.tilde +2024-03-03 20:35:26 - Updated or created DNS file: db.your.tilde +2024-03-03 20:35:26 - Updated or created DNS file: db.team.tilde +2024-03-03 20:35:26 - Updated or created DNS file: db.green.tilde +2024-03-03 20:35:26 - Updated or created DNS file: db.club.tilde +2024-03-03 20:35:26 - Updated or created DNS file: db.fedai.tilde +2024-03-03 20:35:26 - Updated or created DNS file: db.okgit.tilde +2024-03-03 20:35:26 - Updated named.conf.local +2024-04-11 14:05:20 - Updated named.conf.local