add reserved domains

This commit is contained in:
William Harrison
2024-10-31 09:57:39 +08:00
committed by GitHub
parent 739c6c8f82
commit be573f36eb
+5
View File
@@ -94,6 +94,11 @@ for (var subdomain in domains) {
if (domainData.record.URL) {
commit.push(A(subdomainName, IP("192.0.2.1"), { cloudflare_proxy: "on" }));
}
// Handle reserved domains
if (domainData?.reserved) {
commit.push(TXT(subdomainName, "RESERVED"));
}
}
// Exceptions