From 0aaa2d97f46852cb4a91df8942c7f34bc0e3e67d Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Wed, 23 Apr 2025 20:55:01 +0800 Subject: [PATCH] remove raw.json, move directly to zone file --- dnsconfig.js | 2 ++ domains/raw.json | 9 --------- util/reserved.json | 1 + 3 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 domains/raw.json diff --git a/dnsconfig.js b/dnsconfig.js index 9c0cae1b5..915cb24f7 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -147,6 +147,7 @@ for (var i = 0; i < reserved.length; i++) { subdomainName !== "ns2" && subdomainName !== "ns3" && subdomainName !== "ns4" && + subdomainName !== "raw" && subdomainName !== "www" ) { records.push(A(subdomainName, IP("192.0.2.1"), CF_PROXY_ON)); @@ -172,6 +173,7 @@ var ignored = [ IGNORE("autoconfig", "CNAME"), IGNORE("autodiscover", "CNAME"), IGNORE("ns[1-4]", "A,AAAA"), + IGNORE("raw", "CNAME"), IGNORE("www", "*") ]; diff --git a/domains/raw.json b/domains/raw.json deleted file mode 100644 index 5d916fde3..000000000 --- a/domains/raw.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "admin@is-a.dev" - }, - "records": { - "CNAME": "is-a-dev.github.io" - } -} diff --git a/util/reserved.json b/util/reserved.json index 28b7d565d..e30569b39 100644 --- a/util/reserved.json +++ b/util/reserved.json @@ -80,6 +80,7 @@ "prod", "production", "r", + "raw", "rdap", "redirect", "register",