From 0c6453392eadaac6ebc282f021acfb2b5f3fa438 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:50:38 +0800 Subject: [PATCH 01/11] Create org.json --- domains/org.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 domains/org.json diff --git a/domains/org.json b/domains/org.json new file mode 100644 index 000000000..1570b3e57 --- /dev/null +++ b/domains/org.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": {}, + "reserved": true +} From 7bcc674fac8c7609eaaf65282cb087bf647f2789 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:51:39 +0800 Subject: [PATCH 02/11] Create net.json --- domains/net.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 domains/net.json diff --git a/domains/net.json b/domains/net.json new file mode 100644 index 000000000..1570b3e57 --- /dev/null +++ b/domains/net.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": {}, + "reserved": true +} From e41f8fea03154a734241267a094373c02f2dff70 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:52:20 +0800 Subject: [PATCH 03/11] Create com.json --- domains/com.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 domains/com.json diff --git a/domains/com.json b/domains/com.json new file mode 100644 index 000000000..1570b3e57 --- /dev/null +++ b/domains/com.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": {}, + "reserved": true +} From f82f053af9d5845fbf8539175e6e37278b010888 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:52:36 +0800 Subject: [PATCH 04/11] Create whois.json --- domains/whois.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 domains/whois.json diff --git a/domains/whois.json b/domains/whois.json new file mode 100644 index 000000000..1570b3e57 --- /dev/null +++ b/domains/whois.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": {}, + "reserved": true +} From a12b9d7116cfbf419b7156a120adbcd6500b6d7e Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:52:58 +0800 Subject: [PATCH 05/11] Create registry.json --- domains/registry.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 domains/registry.json diff --git a/domains/registry.json b/domains/registry.json new file mode 100644 index 000000000..1570b3e57 --- /dev/null +++ b/domains/registry.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": {}, + "reserved": true +} From 4096884a582d669809bade622c10611ab3a4748b Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:53:12 +0800 Subject: [PATCH 06/11] Create nic.json --- domains/nic.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 domains/nic.json diff --git a/domains/nic.json b/domains/nic.json new file mode 100644 index 000000000..1570b3e57 --- /dev/null +++ b/domains/nic.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": {}, + "reserved": true +} From 5f722f40dff2279eda4afea3ae1ed491f582dd9c Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:53:54 +0800 Subject: [PATCH 07/11] Create support.json --- domains/support.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/support.json diff --git a/domains/support.json b/domains/support.json new file mode 100644 index 000000000..e9887267f --- /dev/null +++ b/domains/support.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": { + "URL": "https://is-a.dev/docs" + } +} From 8d4232a85851298b2931a28ddefb88276ed5de30 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:54:40 +0800 Subject: [PATCH 08/11] Create help.json --- domains/help.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/help.json diff --git a/domains/help.json b/domains/help.json new file mode 100644 index 000000000..e9887267f --- /dev/null +++ b/domains/help.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": { + "URL": "https://is-a.dev/docs" + } +} From 739c6c8f828c9369c74b5303757062746041d1a3 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:55:30 +0800 Subject: [PATCH 09/11] Create register.json --- domains/register.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/register.json diff --git a/domains/register.json b/domains/register.json new file mode 100644 index 000000000..aab28d71a --- /dev/null +++ b/domains/register.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": { + "URL": "https://github.com/is-a-dev/register" + } +} From be573f36eb90aec89229a944f155e161aa68011f Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:57:39 +0800 Subject: [PATCH 10/11] add reserved domains --- dnsconfig.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dnsconfig.js b/dnsconfig.js index e292badeb..f76f65949 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -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 From 9c9a2379531a17aa3b6eca1c724f7faee79d8a95 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:02:55 +0800 Subject: [PATCH 11/11] Update dnsconfig.js --- dnsconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsconfig.js b/dnsconfig.js index f76f65949..7b7bb17fc 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -96,7 +96,7 @@ for (var subdomain in domains) { } // Handle reserved domains - if (domainData?.reserved) { + if (domainData.reserved) { commit.push(TXT(subdomainName, "RESERVED")); } }