Update dnsconfig.js

This commit is contained in:
William Harrison
2024-10-23 10:22:53 +08:00
committed by GitHub
parent 3dd4692dd2
commit 57ac0013a8
+1 -5
View File
@@ -87,15 +87,11 @@ for (var subdomain in domains) {
// Handle URL records
if (domainData.record.URL) {
commit.push(
A(subdomainName, "192.0.2.1", { cloudflare_proxy: "on" })
// CF_SINGLE_REDIRECT(fullSubdomain, 302, 'http.host eq "' + fullSubdomain + '"', 'concat("' + domainData.record.URL + '", "")')
)
commit.push(A(subdomainName, "192.0.2.1", { cloudflare_proxy: "on" }));
}
}
// Exceptions
commit.push(IGNORE("*", "DS"));
commit.push(IGNORE("@", "MX,TXT"));
commit.push(IGNORE("\\*"));
commit.push(IGNORE("*._domainkey", "TXT"));