From 2d3e44addbf99c0d3407e6bffa65c5882951bd9d Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 11:27:24 +0800 Subject: [PATCH] no need to push `_redirect` TXT records anymore --- dnsconfig.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/dnsconfig.js b/dnsconfig.js index c2f151bc2..ae7905e0f 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -133,7 +133,6 @@ for (var subdomain in domains) { // Handle URL records if (domainData.record.URL) { records.push(A(subdomainName, IP("192.0.2.1"), CF_PROXY_ON)); - records.push(TXT("_redirect." + subdomainName, "\"" + domainData.record.URL + "\"")); } } @@ -150,8 +149,6 @@ for (var i = 0; i < reserved.length; i++) { ) { records.push(A(subdomainName, IP("192.0.2.1"), CF_PROXY_ON)); } - - records.push(TXT("_redirect." + subdomainName, "\"https://is-a.dev/reserved\"")); } var options = {