add reserved domains

This commit is contained in:
William Harrison authored and GitHub committed 2024-10-31 09:57:39 +08:00
1 parent 739c6c8f82
commit be573f36eb
1 file changed
+5
+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