'Quebec, Canada', // Replace with actual locations 'ns2' => 'Frankfurt, Germany', 'ns3' => 'Virginia, US', 'ns4' => 'Oregon, US', // Add more as needed ]; if (file_exists($masterFile)) { $content = file_get_contents($masterFile); // Regex to match A records (IPv4) preg_match_all('/(\S+)\s+IN\s+A\s+(\S+)/', $content, $aMatches); // Regex to match AAAA records (IPv6) preg_match_all('/(\S+)\s+IN\s+AAAA\s+(\S+)/', $content, $aaaaMatches); $ipv4Records = array_combine($aMatches[1], $aMatches[2]); $ipv6Records = array_combine($aaaaMatches[1], $aaaaMatches[2]); foreach ($nsFilter as $nsName) { $ipv4 = isset($ipv4Records[$nsName]) ? $ipv4Records[$nsName] : 'IPv4 not found'; $ipv6 = isset($ipv6Records[$nsName]) ? $ipv6Records[$nsName] : 'IPv6 not found'; $geographicalArea = isset($nsGeographicalAreas[$nsName]) ? $nsGeographicalAreas[$nsName] : 'Unknown Location'; $servers[] = [ 'hostname' => $nsName, 'ipv4' => $ipv4, 'ipv6' => $ipv6, 'location' => $geographicalArea ]; } } return $servers; } $dnsServers = getDnsServersInfo(); // Modified checkServerStatus function function checkServerStatus($server) { $port = 53; // DNS port, change if necessary $timeout = 30; // Timeout in seconds // Debug: Output the server being checked # echo "Checking status of server: $server
"; $fp = @fsockopen($server, $port, $errno, $errstr, $timeout); if ($fp) { fclose($fp); # echo "Server $server is Online
"; // Debug: Server is online return "Online"; } else { # echo "Server $server is Offline - Error: $errstr ($errno)
"; // Debug: Server is offline return "Offline"; } } ?> |--===TildeNIC ===--| Bringing .tilde to the Tildeverse!

Welcome to TildeNIC

TildeNIC is where you can request your .tilde top level domain. To do so, you need to first change your DNS over to one of the resolvers we offer, or you can self-host one.

OpenNIC Information

Domains offered by OpenNIC are also able to be resolved using our servers, Such as:

Will all resolve using our dns servers. For more information about OpenNIC you can visit http://opennic.org

TildeNIC Available DNS Servers