From 7ca08eccd1bb4eb75866553ce354d8abf2aa4d26 Mon Sep 17 00:00:00 2001 From: Reejit Biswas <70316178+reejit@users.noreply.github.com> Date: Tue, 25 Mar 2025 13:32:45 +0530 Subject: [PATCH 01/48] Create reejit.json --- domains/reejit.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 domains/reejit.json diff --git a/domains/reejit.json b/domains/reejit.json new file mode 100644 index 000000000..f5854bb98 --- /dev/null +++ b/domains/reejit.json @@ -0,0 +1,7 @@ +{ + "owner": { + "username": "reejit", + "email": "guardiansofspartax@gmail.com" + }, + "record": { + "NS": ["gloria.ns.cloudflare.com", "west.ns.cloudflare.com"] From 66332d6dd94bd5991eedb305707fec0daae41604 Mon Sep 17 00:00:00 2001 From: Reejit Biswas <70316178+reejit@users.noreply.github.com> Date: Tue, 25 Mar 2025 14:19:26 +0530 Subject: [PATCH 02/48] Update reejit.json --- domains/reejit.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/domains/reejit.json b/domains/reejit.json index f5854bb98..3a5d8a374 100644 --- a/domains/reejit.json +++ b/domains/reejit.json @@ -5,3 +5,5 @@ }, "record": { "NS": ["gloria.ns.cloudflare.com", "west.ns.cloudflare.com"] + } +} From 381b4d0fc821536df50e203b6a57fa57935e2d50 Mon Sep 17 00:00:00 2001 From: Thinh Nguyen <54620666+thinhdnn@users.noreply.github.com> Date: Thu, 3 Apr 2025 02:28:11 +0700 Subject: [PATCH 03/48] Create thinhnguyen.json --- domains/thinhnguyen.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/thinhnguyen.json diff --git a/domains/thinhnguyen.json b/domains/thinhnguyen.json new file mode 100644 index 000000000..fd1f24d13 --- /dev/null +++ b/domains/thinhnguyen.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "thinhdnn", + "email": "nguyenvanthinh.dnn@gmail.com" + }, + "record": { + "A": ["152.69.194.105"] + } +} From 471d5d2a0616b1f55516d743a633003ef6eb619d Mon Sep 17 00:00:00 2001 From: Thinh Nguyen <54620666+thinhdnn@users.noreply.github.com> Date: Thu, 3 Apr 2025 02:47:17 +0700 Subject: [PATCH 04/48] Update thinhnguyen.json --- domains/thinhnguyen.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/thinhnguyen.json b/domains/thinhnguyen.json index fd1f24d13..4023b9961 100644 --- a/domains/thinhnguyen.json +++ b/domains/thinhnguyen.json @@ -4,6 +4,6 @@ "email": "nguyenvanthinh.dnn@gmail.com" }, "record": { - "A": ["152.69.194.105"] + "A": ["152.69.196.244"] } } From 6e43238268d4fe2535bbc8f3fa6f88caf1b92dc4 Mon Sep 17 00:00:00 2001 From: Deva Midhun Date: Thu, 3 Apr 2025 16:44:35 +0530 Subject: [PATCH 05/48] Create coder.json --- domains/coder.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/coder.json diff --git a/domains/coder.json b/domains/coder.json new file mode 100644 index 000000000..d74f24d92 --- /dev/null +++ b/domains/coder.json @@ -0,0 +1,12 @@ +{ + "owner": { + "username": "turbomaster95", + "email": "devamidhun.3c.kmbvm@gmail.com" + }, + "record": { + "NS": [ + "aria.ns.cloudflare.com", + "leonard.ns.cloudflare.com" + ] + } +} From c9d10ff843ea9e3d34e5dee68b851204578fb248 Mon Sep 17 00:00:00 2001 From: Cedrick Feze Date: Thu, 3 Apr 2025 18:57:47 +0200 Subject: [PATCH 06/48] Delete domains/cedrickfeze.json --- domains/cedrickfeze.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/cedrickfeze.json diff --git a/domains/cedrickfeze.json b/domains/cedrickfeze.json deleted file mode 100644 index 8585ed122..000000000 --- a/domains/cedrickfeze.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "cedrickdev", - "email": "cedrickv.tchindaf@hes-so.ch" - }, - "record": { - "CNAME": "cedrickfeze.vercel.app" - } -} From ad14a1548127b64f77c911dd13d80389fbaa5777 Mon Sep 17 00:00:00 2001 From: RandomYaps <156994100+randomyaps@users.noreply.github.com> Date: Thu, 3 Apr 2025 20:53:35 +0200 Subject: [PATCH 07/48] Update exrand.json --- domains/exrand.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/exrand.json b/domains/exrand.json index 5d3190765..d30867fca 100644 --- a/domains/exrand.json +++ b/domains/exrand.json @@ -4,6 +4,6 @@ "email": "totallynota903@gmail.com" }, "record": { - "A": ["207.180.248.6"] + "A": ["212.91.26.79"] } } From a4100bb79f1faf52d111ecaf938f8f815812121a Mon Sep 17 00:00:00 2001 From: RandomYaps <156994100+randomyaps@users.noreply.github.com> Date: Thu, 3 Apr 2025 21:04:27 +0200 Subject: [PATCH 08/48] Update exrand.json --- domains/exrand.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/exrand.json b/domains/exrand.json index d30867fca..ec9fc953f 100644 --- a/domains/exrand.json +++ b/domains/exrand.json @@ -1,6 +1,6 @@ { "owner": { - "username": "exrand", + "username": "randomyaps", "email": "totallynota903@gmail.com" }, "record": { From c76fda18eaaf12a99e93be4f9d827b1395a4b6f7 Mon Sep 17 00:00:00 2001 From: Yosuke Nishiyama <141266522+Yunexiz@users.noreply.github.com> Date: Thu, 3 Apr 2025 21:29:20 +0100 Subject: [PATCH 09/48] Create yu.json --- domains/yu.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/yu.json diff --git a/domains/yu.json b/domains/yu.json new file mode 100644 index 000000000..7f818e185 --- /dev/null +++ b/domains/yu.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "yunexiz", + "discord": "1040303561847881729", + }, + "record": { + "CNAME": "redirecting-for-yu.pages.dev" + } +} From 6e766964ab111ad893285726d6f49973531532a2 Mon Sep 17 00:00:00 2001 From: Yosuke Nishiyama <141266522+Yunexiz@users.noreply.github.com> Date: Thu, 3 Apr 2025 21:32:58 +0100 Subject: [PATCH 10/48] Update yu.json --- domains/yu.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/yu.json b/domains/yu.json index 7f818e185..47b754fa2 100644 --- a/domains/yu.json +++ b/domains/yu.json @@ -1,7 +1,7 @@ { "owner": { "username": "yunexiz", - "discord": "1040303561847881729", + "discord": "1040303561847881729" }, "record": { "CNAME": "redirecting-for-yu.pages.dev" From d1d14350d8409e324ed570c0a55b2e9a18459f7b Mon Sep 17 00:00:00 2001 From: Taylor Date: Fri, 4 Apr 2025 06:33:24 +0700 Subject: [PATCH 11/48] Create vulehuan.json for vulehuan.com --- domains/vulehuan.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/vulehuan.json diff --git a/domains/vulehuan.json b/domains/vulehuan.json new file mode 100644 index 000000000..4676646d1 --- /dev/null +++ b/domains/vulehuan.json @@ -0,0 +1,10 @@ +{ + "description": "vulehuan.is-a.dev : This is my personal notebook", + "owner": { + "username": "vulehuan", + "email": "vulehuan@gmail.com" + }, + "record": { + "URL": "https://vulehuan.com" + } +} 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 12/48] 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 = { From b6bb69f110ec76ddedf7ab07eecfa06c5f8b620e Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 11:56:05 +0800 Subject: [PATCH 13/48] require strict parents for every level + fix ns on nested subdomains with ns --- tests/domains.test.js | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/tests/domains.test.js b/tests/domains.test.js index 9df9598f4..fc7a94696 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -24,26 +24,32 @@ function getDomainData(subdomain) { t("Nested subdomains should not exist without a parent subdomain", (t) => { files.forEach((file) => { const subdomain = file.replace(/\.json$/, ""); - const parentDomain = subdomain.split(".").reverse()[0]; + const parts = subdomain.split("."); - if (parentDomain !== subdomain) { + for (let i = 1; i < parts.length; i++) { + const parent = parts.slice(i).join("."); t.true( - parentDomain && files.includes(`${parentDomain}.json`), - `${file}: Parent subdomain does not exist` + files.includes(`${parent}.json`), + `${file}: Parent subdomain "${parent}" does not exist` ); } }); }); -t("Nested subdomains should not exist if the parent subdomain has NS records", (t) => { +t("Nested subdomains should not exist if any parent subdomain has NS records", (t) => { files.forEach((file) => { const subdomain = file.replace(/\.json$/, ""); - const parentDomain = subdomain.split(".").reverse()[0]; + const parts = subdomain.split("."); - if (parentDomain !== subdomain) { - const parentData = getDomainData(parentDomain); + for (let i = 1; i < parts.length; i++) { + const parent = parts.slice(i).join("."); + const parentData = getDomainData(parent); - t.true(!parentData.record.NS, `${file}: Parent subdomain has NS records`); + if (!parentData) continue; + if (parentData.record.NS) { + t.fail(`${file}: Parent subdomain "${parent}" has NS records`); + return; + } } }); }); From 716274b1f3e6de77b1f1a4c8a769777e6d511392 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 11:57:38 +0800 Subject: [PATCH 14/48] Delete domains/_github-pages-challenge-riviox.galaxytweaks.riviox.json --- ...ithub-pages-challenge-riviox.galaxytweaks.riviox.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/_github-pages-challenge-riviox.galaxytweaks.riviox.json diff --git a/domains/_github-pages-challenge-riviox.galaxytweaks.riviox.json b/domains/_github-pages-challenge-riviox.galaxytweaks.riviox.json deleted file mode 100644 index 844946459..000000000 --- a/domains/_github-pages-challenge-riviox.galaxytweaks.riviox.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "riviox", - "email": "rivioxyt@hotmail.com" - }, - "record": { - "TXT": "15bce163359555d636e6bd2cc5903f" - } -} From 49d0406b2c821ef8dff768f1dd5faab1876641d2 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:00:36 +0800 Subject: [PATCH 15/48] allow SRV style domains --- tests/domains.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/domains.test.js b/tests/domains.test.js index fc7a94696..42bfb77ad 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -61,6 +61,9 @@ t("Nested subdomains should be owned by the parent subdomain's owner", (t) => { if (parentDomain !== subdomain) { const data = getDomainData(subdomain); + + if (parent.startsWith("_")) continue; + const parentData = getDomainData(parentDomain); t.true( From 60eeacbc2f24b63c975453ae81a623c93179e491 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:02:40 +0800 Subject: [PATCH 16/48] Update domains.test.js --- tests/domains.test.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/domains.test.js b/tests/domains.test.js index 42bfb77ad..159c1fd85 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -43,9 +43,10 @@ t("Nested subdomains should not exist if any parent subdomain has NS records", ( for (let i = 1; i < parts.length; i++) { const parent = parts.slice(i).join("."); + if (parent.startsWith("_")) continue; + const parentData = getDomainData(parent); - if (!parentData) continue; if (parentData.record.NS) { t.fail(`${file}: Parent subdomain "${parent}" has NS records`); return; @@ -61,9 +62,6 @@ t("Nested subdomains should be owned by the parent subdomain's owner", (t) => { if (parentDomain !== subdomain) { const data = getDomainData(subdomain); - - if (parent.startsWith("_")) continue; - const parentData = getDomainData(parentDomain); t.true( From 20d22f09fbb835d7441569bb61535b40b4666b90 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:04:34 +0800 Subject: [PATCH 17/48] Update domains.test.js --- tests/domains.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/domains.test.js b/tests/domains.test.js index 159c1fd85..12ee7089c 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -28,6 +28,8 @@ t("Nested subdomains should not exist without a parent subdomain", (t) => { for (let i = 1; i < parts.length; i++) { const parent = parts.slice(i).join("."); + if (parent.startsWith("_")) continue; + t.true( files.includes(`${parent}.json`), `${file}: Parent subdomain "${parent}" does not exist` @@ -43,8 +45,7 @@ t("Nested subdomains should not exist if any parent subdomain has NS records", ( for (let i = 1; i < parts.length; i++) { const parent = parts.slice(i).join("."); - if (parent.startsWith("_")) continue; - + if (parent.startsWith("_") || !files.includes(`${parent}.json`)) continue; const parentData = getDomainData(parent); if (parentData.record.NS) { From 583d1e8c73e6e85d5b07b30dd6049a610a56efb5 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:06:58 +0800 Subject: [PATCH 18/48] Create mc.3gee.json --- domains/mc.3gee.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/mc.3gee.json diff --git a/domains/mc.3gee.json b/domains/mc.3gee.json new file mode 100644 index 000000000..754a634a0 --- /dev/null +++ b/domains/mc.3gee.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "3geETR", + "email": "egemacun@gmail.com" + }, + "record": { + "CNAME": "gold.magmanode.com" + } +} From cd83650a5fb38f6212ab2f76dde4baf5a9ec04c4 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:07:36 +0800 Subject: [PATCH 19/48] Update _minecraft._tcp.mc.3gee.json --- domains/_minecraft._tcp.mc.3gee.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/_minecraft._tcp.mc.3gee.json b/domains/_minecraft._tcp.mc.3gee.json index ca7a9f426..b717967fb 100644 --- a/domains/_minecraft._tcp.mc.3gee.json +++ b/domains/_minecraft._tcp.mc.3gee.json @@ -9,7 +9,7 @@ "priority": 0, "weight": 5, "port": 32279, - "target": "gold.magmanode.com" + "target": "mc.3gee.is-a.dev" } ] } From fa41de81376fa0cf4f7f6230f4904d8ad51d671a Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:09:36 +0800 Subject: [PATCH 20/48] Delete domains/api.karyakarsa.willo.json --- domains/api.karyakarsa.willo.json | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 domains/api.karyakarsa.willo.json diff --git a/domains/api.karyakarsa.willo.json b/domains/api.karyakarsa.willo.json deleted file mode 100644 index c70b3e330..000000000 --- a/domains/api.karyakarsa.willo.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "description": "api for karyakarsa", - "repo": "https://github.com/WilloIzCitron/karyakarsa-rest-api", - "owner": { - "username": "WilloIzCitron", - "twitter": "willoizcitron" - }, - "record": { - "CNAME": "karyakarsa-rest-api-production.up.railway.app" - } -} From eef698641f842bc343938da9f8af42116ab563c9 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:11:44 +0800 Subject: [PATCH 21/48] Delete domains/resend._domainkey.auth.sign.alvin.json --- domains/resend._domainkey.auth.sign.alvin.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/resend._domainkey.auth.sign.alvin.json diff --git a/domains/resend._domainkey.auth.sign.alvin.json b/domains/resend._domainkey.auth.sign.alvin.json deleted file mode 100644 index 37fb5d358..000000000 --- a/domains/resend._domainkey.auth.sign.alvin.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "alvinsjoy", - "discord": "825382504353234954" - }, - "record": { - "TXT": "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJKRhjsqeFCeiJu7RCgTQLle1cBelrRmpLQJoJIc1JHTBSc0RNuLTwMEWzE3Kb/ichQ+9JiOnSAEYXM/HYmdPdBL0e1xj5WJum/kKidmyaSJunNVUmpy85BgbIex3icbnZcTaUOXzTTPdxnJJZy5iJWGt39/hYkHKdOuYtNDeKJwIDAQAB" - } -} From 0ae2ed386ed28931bdc9e3a5d16720579405dcc6 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:13:54 +0800 Subject: [PATCH 22/48] Discard changes to domains/resend._domainkey.auth.sign.alvin.json --- domains/resend._domainkey.auth.sign.alvin.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/resend._domainkey.auth.sign.alvin.json diff --git a/domains/resend._domainkey.auth.sign.alvin.json b/domains/resend._domainkey.auth.sign.alvin.json new file mode 100644 index 000000000..37fb5d358 --- /dev/null +++ b/domains/resend._domainkey.auth.sign.alvin.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "alvinsjoy", + "discord": "825382504353234954" + }, + "record": { + "TXT": "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJKRhjsqeFCeiJu7RCgTQLle1cBelrRmpLQJoJIc1JHTBSc0RNuLTwMEWzE3Kb/ichQ+9JiOnSAEYXM/HYmdPdBL0e1xj5WJum/kKidmyaSJunNVUmpy85BgbIex3icbnZcTaUOXzTTPdxnJJZy5iJWGt39/hYkHKdOuYtNDeKJwIDAQAB" + } +} From 2525de5cfe089033ab9666bc8ea6d59378365d39 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:14:52 +0800 Subject: [PATCH 23/48] Create auth.sign.alvin.json --- domains/auth.sign.alvin.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/auth.sign.alvin.json diff --git a/domains/auth.sign.alvin.json b/domains/auth.sign.alvin.json new file mode 100644 index 000000000..c279d0ff2 --- /dev/null +++ b/domains/auth.sign.alvin.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "alvinsjoy", + "discord": "825382504353234954" + }, + "record": { + "TXT": "Created to allow nested subdomains to exist." + } +} From a7de5b226303f1b0d8e1a8dfc2f8d91b8b5552c1 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:18:20 +0800 Subject: [PATCH 24/48] Create cdn.akk1to.json --- domains/cdn.akk1to.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/cdn.akk1to.json diff --git a/domains/cdn.akk1to.json b/domains/cdn.akk1to.json new file mode 100644 index 000000000..b6723a57d --- /dev/null +++ b/domains/cdn.akk1to.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "akk1to", + "email": "akk1to.dev@gmail.com", + "discord": "727497287777124414" + }, + "record": { + "TXT": "Created to allow nested subdomains to exist." + } +} From 710a476a52ccaabc9b9f2e22bf112ea7dd0ed238 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:21:03 +0800 Subject: [PATCH 25/48] Update domains.test.js --- tests/domains.test.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/domains.test.js b/tests/domains.test.js index 12ee7089c..d5a4b6148 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -48,10 +48,7 @@ t("Nested subdomains should not exist if any parent subdomain has NS records", ( if (parent.startsWith("_") || !files.includes(`${parent}.json`)) continue; const parentData = getDomainData(parent); - if (parentData.record.NS) { - t.fail(`${file}: Parent subdomain "${parent}" has NS records`); - return; - } + t.false(parentData.record.NS, `${file}: Parent subdomain "${parent}" has NS records`); } }); }); From 2d62b0210c4e52fe856b59cf5623f24ede7722ce Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:24:18 +0800 Subject: [PATCH 26/48] fix --- tests/domains.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/domains.test.js b/tests/domains.test.js index d5a4b6148..43395fcda 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -48,7 +48,7 @@ t("Nested subdomains should not exist if any parent subdomain has NS records", ( if (parent.startsWith("_") || !files.includes(`${parent}.json`)) continue; const parentData = getDomainData(parent); - t.false(parentData.record.NS, `${file}: Parent subdomain "${parent}" has NS records`); + t.true(!parentData.record.NS, `${file}: Parent subdomain "${parent}" has NS records`); } }); }); From 5ec9dfc9421ae7589a26f5d56161b111350df185 Mon Sep 17 00:00:00 2001 From: colix <148950843+YeahhColix@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:37:28 +0800 Subject: [PATCH 27/48] Delete domains/colix.json --- domains/colix.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/colix.json diff --git a/domains/colix.json b/domains/colix.json deleted file mode 100644 index e9f5291a9..000000000 --- a/domains/colix.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "YeahhColix", - "email": "yeahhcolix@gmail.com" - }, - "record": { - "CNAME": "colix.pages.dev" - } -} From 5b7baae9fddebbd442477b3bf3aaab0d80051bff Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:39:55 +0800 Subject: [PATCH 28/48] Delete domains/w.json --- domains/w.json | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 domains/w.json diff --git a/domains/w.json b/domains/w.json deleted file mode 100644 index 55dcef36b..000000000 --- a/domains/w.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "owner": { - "username": "wdhdev", - "email": "william@is-a.dev" - }, - "record": { - "URL": "https://william.is-a.dev" - }, - "redirect_config": { - "redirect_paths": true - } -} From eb374936d4516edf874e0ade481cabc3f6106bbc Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:47:54 +0800 Subject: [PATCH 29/48] remove good examples --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36ab40258..0c3a0828f 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Not all of these will be posted on GitHub[^1], however they will always be poste ### NS Records When applying for NS records, please be aware we already support a [wide range of DNS records](https://docs.is-a.dev/faq/#which-records-are-supported), so you may not need them. -In your PR, please explain why you need NS records, including examples, to help mitigate potential abuse. Refer to the [FAQ](https://docs.is-a.dev/faq/#who-can-use-ns-records) for guidelines on allowed usage. Good examples of NS record requests are [#17592](https://github.com/is-a-dev/register/pull/17592) and [#18026](https://github.com/is-a-dev/register/pull/18026). +In your PR, please explain why you need NS records, including examples, to help mitigate potential abuse. Refer to the [FAQ](https://docs.is-a.dev/faq/#who-can-use-ns-records) for guidelines on allowed usage. ***Pull requests adding NS records without sufficient reasoning will be closed.*** From 5a4db9d09821395ebd7c651ba6e86f00dcaa44c6 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:49:04 +0800 Subject: [PATCH 30/48] Delete domains/denisklimenko.json --- domains/denisklimenko.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/denisklimenko.json diff --git a/domains/denisklimenko.json b/domains/denisklimenko.json deleted file mode 100644 index b7d688c90..000000000 --- a/domains/denisklimenko.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "DenisKlimenko", - "email": "denis.klimenko.92@gmail.com" - }, - "record": { - "NS": ["destiny.ns.cloudflare.com", "kirk.ns.cloudflare.com"] - } -} From 86d2d09ead4685e366b7d1dcbdb6997bf9578f2d Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:25:35 +0800 Subject: [PATCH 31/48] feat(ci): root subdomains must have atleast one usable record --- tests/records.test.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/tests/records.test.js b/tests/records.test.js index 52fb1f677..47aed54d1 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -216,7 +216,10 @@ function validateRecordValues(t, data, file) { Number.isInteger(record.matchingType) && record.matchingType >= 0 && record.matchingType <= 255, `${file}: Invalid matchingType for ${key} at index ${idx}` ); - t.true(isValidHexadecimal(record.certificate), `${file}: Invalid certificate for ${key} at index ${idx}`); + t.true( + isValidHexadecimal(record.certificate), + `${file}: Invalid certificate for ${key} at index ${idx}` + ); } }); } @@ -310,3 +313,19 @@ t("All files should have valid record types", (t) => { t.pass(); }); + +t("Root domains should have at least one usable record", (t) => { + const usableRecordTypes = ["A", "AAAA", "CNAME", "MX", "NS", "URL"]; + + files.forEach((file) => { + if (file.replace(/\.json$/, "").includes(".")) return; + + const data = getDomainData(file); + const recordKeys = Object.keys(data.record); + + t.true( + usableRecordTypes.some((record) => recordKeys.includes(record)), + `${file}: Root subdomains must have at least one A, AAAA, CNAME, MX, NS, or URL record` + ); + }); +}); From c7077c039d0cdfa9f90c4c827986fa389b6018a8 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:27:00 +0800 Subject: [PATCH 32/48] Update records.test.js --- tests/records.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/records.test.js b/tests/records.test.js index 47aed54d1..6926a88f2 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -314,7 +314,7 @@ t("All files should have valid record types", (t) => { t.pass(); }); -t("Root domains should have at least one usable record", (t) => { +t("Root subdomains should have at least one usable record", (t) => { const usableRecordTypes = ["A", "AAAA", "CNAME", "MX", "NS", "URL"]; files.forEach((file) => { From 1b9ea978b33ca2b50bed991d690c04f1d14f8865 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:28:51 +0800 Subject: [PATCH 33/48] chore(ci): allow subdomains starting with underscores to have non-usable records --- tests/records.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/records.test.js b/tests/records.test.js index 6926a88f2..573e0604e 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -318,7 +318,8 @@ t("Root subdomains should have at least one usable record", (t) => { const usableRecordTypes = ["A", "AAAA", "CNAME", "MX", "NS", "URL"]; files.forEach((file) => { - if (file.replace(/\.json$/, "").includes(".")) return; + const subdomain = file.replace(/\.json$/, ""); + if (subdomain.includes(".") || subdomain.startsWith("_")) return; const data = getDomainData(file); const recordKeys = Object.keys(data.record); From a6f96e44c4a1b541328f88b40b7098fb7bcfb78c Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:30:09 +0800 Subject: [PATCH 34/48] Delete domains/angel.json --- domains/angel.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/angel.json diff --git a/domains/angel.json b/domains/angel.json deleted file mode 100644 index 2b8a5383d..000000000 --- a/domains/angel.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "chewieleaf", - "email": "cchirrpy@outlook.com" - }, - "record": { - "TXT": "dh=440ef941b9b55391f86cf985e87ed861fc6e9512" - } -} From ed542ea66fd7f5c15877814a0d1945ed5c9c0b7a Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:31:03 +0800 Subject: [PATCH 35/48] Delete domains/chewieleaf.json --- domains/chewieleaf.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 domains/chewieleaf.json diff --git a/domains/chewieleaf.json b/domains/chewieleaf.json deleted file mode 100644 index 699471137..000000000 --- a/domains/chewieleaf.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "chewieleaf", - "email": "cchirrpy@outlook.com", - "discord": "898255050592366642" - }, - "record": { - "TXT": "dh=440ef941b9b55391f86cf985e87ed861fc6e9512" - } -} From 727a26e7887b904a06f819eba79f516f1c4d7811 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:32:14 +0800 Subject: [PATCH 36/48] Delete domains/exx.json --- domains/exx.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/exx.json diff --git a/domains/exx.json b/domains/exx.json deleted file mode 100644 index 977561c23..000000000 --- a/domains/exx.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "xqxyzl", - "email": "exemailhelp+3@gmail.com" - }, - "record": { - "TXT": "_discord.exx.is-a.dev" - } -} From 272862f9fd2b863f7f7e9700c24e606cf4616007 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:34:55 +0800 Subject: [PATCH 37/48] Delete domains/faultysden.json --- domains/faultysden.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 domains/faultysden.json diff --git a/domains/faultysden.json b/domains/faultysden.json deleted file mode 100644 index b2c3cdc94..000000000 --- a/domains/faultysden.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "FaultyFaulty-glitch", - "email": "faultywindows+github@gmail.com", - "discord": "1041028534690386051" - }, - "record": { - "TXT": "google-site-verification=ix1jczu2q87igryc4eaexvdv1vrzjxolu14sjfpsnko" - } -} From 375eb3be5cf2048f393ca8630020f4f3cb7de77f Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:36:13 +0800 Subject: [PATCH 38/48] Delete domains/interstellaros.json --- domains/interstellaros.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/interstellaros.json diff --git a/domains/interstellaros.json b/domains/interstellaros.json deleted file mode 100644 index cf559db57..000000000 --- a/domains/interstellaros.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "jacksoncraft859", - "email": "pollardjackson@outlook.com" - }, - "record": { - "TXT": "replit-verify=ac38945f-f53b-4b1b-980d-e2a1d64175c6" - } -} From 57736f597183fe68ab86f337712d5938a1cde04c Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:37:27 +0800 Subject: [PATCH 39/48] Delete domains/_discord.thangle.json --- domains/_discord.thangle.json | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 domains/_discord.thangle.json diff --git a/domains/_discord.thangle.json b/domains/_discord.thangle.json deleted file mode 100644 index ed21f0026..000000000 --- a/domains/_discord.thangle.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "owner": { - "username": "ThangLe9999", - "discord": "872078632565215282", - "OWL": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiUlNBLU9BRVAiLCJraWQiOiJaa1VsRmRqVThiUEstLXVVM2JJR09PVHFYYVFFS1ZINFVXOW53MTR6WTJnIn0.G5BtkuOaAUmFdixUP1IN4ZTmec-NZCllzsliK6q8sggJkBzasXefGfeEh6pBOiZ6ZkV2gr-GCdTN7LkP7QLPgLN6FglXac8BP1DSGDF3Lo8ULvrM-CpLUdeR0mqes6OQVvWdmPhZgVFGF3ItzDXQ7SqB6zrMbEWEwuZeg2KLHyPqvHsdrWLjzNpvVUwZRBuxicPyNTT70oMbPaOn3cvg4J_mVxNywnrIY5F34-T4tmiOEijsHmPwG2RzHsTCzC3cGYfNmokQtAsL0jhIMH4GzYdbTUsjDOrqbLdT-W2y33pQkeQuCjdf8KkeYCfacE0oWAZKFhrW2X0zJLYvGQBeuw.3qY1yT9H2x2WH2DePTziiw.PJvjWBGxfTgCKqZiHuAsRaUEdjld3XeMAw7NwX9P28VSFOS3-xsSiOvbLrCo1n1nTF-4g8EIRkkFJPn2P1T6YUDNuHVqbvnGg2wfhpfdSaM.yxghx67x9iGLMjDEKJdeAw" - }, - - "record": { - "TXT": "dh=8d98fb5fefbb1915e89d5dc43c9fdd9fa801557f" - } -} From e1d4da55a2d04ec9b4dd41d268b383db877dbac3 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:37:33 +0800 Subject: [PATCH 40/48] Delete domains/thangle.json --- domains/thangle.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/thangle.json diff --git a/domains/thangle.json b/domains/thangle.json deleted file mode 100644 index f3b5eea08..000000000 --- a/domains/thangle.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "thangle9999", - "discord": "thangle9999" - }, - "record": { - "TXT": "vc-domain-verify=thangle.is-a.dev,bd6f80914ee2949ce900" - } -} From ed5686aa442d66b86365d41ede740ee1050cab96 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:48:45 +0800 Subject: [PATCH 41/48] Create dnscontrol.yml --- .github/workflows/dnscontrol.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/dnscontrol.yml diff --git a/.github/workflows/dnscontrol.yml b/.github/workflows/dnscontrol.yml new file mode 100644 index 000000000..9656df68b --- /dev/null +++ b/.github/workflows/dnscontrol.yml @@ -0,0 +1,24 @@ +name: DNSControl + +on: + push: + branches: [main] + paths: + - "dnsconfig.js" + + workflow_dispatch: + +concurrency: + group: ${{ github.ref }}-publish + cancel-in-progress: false + +jobs: + tests: + name: Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: is-a-dev/dnscontrol-action@main + with: + args: check From 250638528758a33bd914d1dfd808085ee0b9e835 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:49:04 +0800 Subject: [PATCH 42/48] Update publish.yml --- .github/workflows/publish.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6094cba76..157d73bfc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,11 +22,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Run DNSControl tests - uses: is-a-dev/dnscontrol-action@main - with: - args: check - - name: Generate creds.json run: echo '{"cloudflare":{"TYPE":"CLOUDFLAREAPI","apitoken":"$CLOUDFLARE_API_TOKEN"}}' > ./creds.json From af39d20f909be00a3c3443deae470529dcd49247 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:49:47 +0800 Subject: [PATCH 43/48] Update dnscontrol.yml --- .github/workflows/dnscontrol.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dnscontrol.yml b/.github/workflows/dnscontrol.yml index 9656df68b..f1550a1ef 100644 --- a/.github/workflows/dnscontrol.yml +++ b/.github/workflows/dnscontrol.yml @@ -4,6 +4,7 @@ on: push: branches: [main] paths: + - ".github/workflows/dnscontrol.yml" - "dnsconfig.js" workflow_dispatch: From 2487d8284b6e817fcb3625f233844335b45bf256 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:51:35 +0800 Subject: [PATCH 44/48] Update stale.yml --- .github/workflows/stale.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index ad78c7b61..815d5ace0 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,12 +1,14 @@ -name: StaleBOT +name: Stale on: - workflow_dispatch: schedule: - - cron: "30 14 * * *" + - cron: "0 12 * * *" + + workflow_dispatch: jobs: - stale: + label: + name: Label runs-on: ubuntu-latest steps: - uses: actions/stale@v3 From 05fe92c1169d8d43588e64e1ccfcbd34336ba8e7 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:53:12 +0800 Subject: [PATCH 45/48] Update label.yml --- .github/workflows/label.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index e0891daae..415277fbe 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -1,12 +1,15 @@ -name: Pull Request Labeler +name: Label + on: schedule: - cron: "*/10 * * * *" + jobs: - labeler: + pull-requests: + name: Pull Requests runs-on: ubuntu-latest steps: - - uses: docker://docker.io/ilyam8/periodic-pr-labeler:v0.1.1 + - uses: ilyam8/periodic-pr-labeler@v0.3.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} From 25088a91abca0f080a5e3b78a5ff79fdad142e7e Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:53:57 +0800 Subject: [PATCH 46/48] Update ci.yml --- .github/workflows/ci.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1521b5990..91d81f6e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,6 @@ on: - "tests/*" - "util/*" - ".github/workflows/ci.yml" - - "dnsconfig.js" workflow_dispatch: @@ -44,11 +43,5 @@ jobs: env: GH_TOKEN: ${{ github.token }} - - name: Run DNSControl tests - if: github.event_name == 'pull_request' && contains(fromJson(env.CHANGED_FILES), 'dnsconfig.js') - uses: is-a-dev/dnscontrol-action@main - with: - args: check - - name: Run tests run: npx ava tests/*.test.js --timeout=1m From 2e96546e58e5368f077afdb7516599168d1f1960 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:54:15 +0800 Subject: [PATCH 47/48] Update dnscontrol.yml --- .github/workflows/dnscontrol.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dnscontrol.yml b/.github/workflows/dnscontrol.yml index f1550a1ef..847aae8cb 100644 --- a/.github/workflows/dnscontrol.yml +++ b/.github/workflows/dnscontrol.yml @@ -10,8 +10,8 @@ on: workflow_dispatch: concurrency: - group: ${{ github.ref }}-publish - cancel-in-progress: false + group: ${{ github.ref }}-dnscontrol + cancel-in-progress: true jobs: tests: From 4f63e5d24152fa6c11e8aae986e36a2b9da7e2ff Mon Sep 17 00:00:00 2001 From: Melishy <121497579+Melishy@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:45:07 +0300 Subject: [PATCH 48/48] Delete domains/luoxiaohei.json the project is archived, i am deleting my domain. --- domains/luoxiaohei.json | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 domains/luoxiaohei.json diff --git a/domains/luoxiaohei.json b/domains/luoxiaohei.json deleted file mode 100644 index 1ef5b4c72..000000000 --- a/domains/luoxiaohei.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "description": "🌸 This is nicer with it's own site of discord app named Luo Xiaohei", - "repo": "https://github.com/lxhapp/lxhapp.github.io", - "owner": { - "username": "Melishy", - "email": "themelishy@outlook.com", - "twitter": "themelishy", - "discord": "1053012080812359750" - }, - "record": { - "CNAME": "lxhapp.github.io" - } -}