From 068ff206501054b608c76d40e037d5672024a7e2 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 25 Dec 2023 07:21:34 +0800 Subject: [PATCH 01/39] feat(root): mail records --- domains/@.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/domains/@.json b/domains/@.json index 56f1851e8..6fdb9372b 100644 --- a/domains/@.json +++ b/domains/@.json @@ -6,6 +6,8 @@ "email": "phenax5@gmail.com" }, "record": { - "URL": "http://www.is-a.dev" + "URL": "http://www.is-a.dev", + "MX": ["mail.is-a.dev"], + "TXT": ["v=spf1 ip4:51.161.54.164 include:mail.is-a.dev ~all"] } } From a20c1d938fc7afddfd1b1bf185261b61fe6caff1 Mon Sep 17 00:00:00 2001 From: Anubhav-Pathak Date: Tue, 2 Jan 2024 13:03:28 +0530 Subject: [PATCH 02/39] feat(domain): anubhavpathak.is-a.dev --- domains/anubhavpathak.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/anubhavpathak.json diff --git a/domains/anubhavpathak.json b/domains/anubhavpathak.json new file mode 100644 index 000000000..aa2d15c1a --- /dev/null +++ b/domains/anubhavpathak.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Anubhav-Pathak", + "email": "anubhavpathak99@gmail.com" + }, + "record": { + "CNAME": "anubhavpathak" + } +} From 4f1acbaa9b8fb69591e355543691fa7e8f3181ef Mon Sep 17 00:00:00 2001 From: Saptarshi Halder <62690091+saptarshihalder@users.noreply.github.com> Date: Wed, 3 Jan 2024 00:09:39 +0530 Subject: [PATCH 03/39] Register saptarshi.is-a.dev --- domains/saptarshi.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/saptarshi.json diff --git a/domains/saptarshi.json b/domains/saptarshi.json new file mode 100644 index 000000000..45f16b3ec --- /dev/null +++ b/domains/saptarshi.json @@ -0,0 +1,12 @@ +{ + "owner": { + "username": "saptarshihalder", + "email": "saptarshihalder69@gmail.com", + "discord": "747718545307336797" + }, + + "record": { + "A": ["saptarshi"] + } + } + \ No newline at end of file From 2819c0e11b3faed79c47483f7acf75ec53a0b7ec Mon Sep 17 00:00:00 2001 From: dinuhifi Date: Fri, 5 Jan 2024 16:23:27 +0530 Subject: [PATCH 04/39] feat(domain): dinuhifi.is-a.dev --- domains/dinuhifi.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/dinuhifi.json diff --git a/domains/dinuhifi.json b/domains/dinuhifi.json new file mode 100644 index 000000000..3ad0f1f57 --- /dev/null +++ b/domains/dinuhifi.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "dinuhifi", + "email": "dinesh23110077@snuchennai.edu.in" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 5c70e47c2d6e8f7882761d14bca45244e0f473d9 Mon Sep 17 00:00:00 2001 From: jirafey <97115044+jirafey@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:17:14 +0200 Subject: [PATCH 05/39] Create _discord.jirafey.is-a.dev.json --- domains/_discord.jirafey.is-a.dev.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 domains/_discord.jirafey.is-a.dev.json diff --git a/domains/_discord.jirafey.is-a.dev.json b/domains/_discord.jirafey.is-a.dev.json new file mode 100644 index 000000000..2f26b0059 --- /dev/null +++ b/domains/_discord.jirafey.is-a.dev.json @@ -0,0 +1 @@ +dh=3c80d94ed181b223255b5fbf35f8fda6a402058f From 1f5305d891d2a2afa95a1e8493072a1f9f80ee64 Mon Sep 17 00:00:00 2001 From: jirafey <97115044+jirafey@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:18:39 +0200 Subject: [PATCH 06/39] Update _discord.jirafey.is-a.dev.json --- domains/_discord.jirafey.is-a.dev.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/domains/_discord.jirafey.is-a.dev.json b/domains/_discord.jirafey.is-a.dev.json index 2f26b0059..9a7ab2cd2 100644 --- a/domains/_discord.jirafey.is-a.dev.json +++ b/domains/_discord.jirafey.is-a.dev.json @@ -1 +1,10 @@ -dh=3c80d94ed181b223255b5fbf35f8fda6a402058f +{ + "owner": { + "username": "jirafey", + "email": "jirafey@tuta.io", + "discord": "853672321394016256" + } + "record": { + "TXT": "dh=3c80d94ed181b223255b5fbf35f8fda6a402058f" + } +} From 1242e70f71eb5a62a8cc743a596e9778abb898bc Mon Sep 17 00:00:00 2001 From: jirafey <97115044+jirafey@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:19:15 +0200 Subject: [PATCH 07/39] Update _discord.jirafey.is-a.dev.json --- domains/_discord.jirafey.is-a.dev.json | 1 - 1 file changed, 1 deletion(-) diff --git a/domains/_discord.jirafey.is-a.dev.json b/domains/_discord.jirafey.is-a.dev.json index 9a7ab2cd2..8a5d67e15 100644 --- a/domains/_discord.jirafey.is-a.dev.json +++ b/domains/_discord.jirafey.is-a.dev.json @@ -2,7 +2,6 @@ "owner": { "username": "jirafey", "email": "jirafey@tuta.io", - "discord": "853672321394016256" } "record": { "TXT": "dh=3c80d94ed181b223255b5fbf35f8fda6a402058f" From 18a6eafd8d56f8e1a27fa6cfee2f86519587055d Mon Sep 17 00:00:00 2001 From: jirafey Date: Fri, 5 Jan 2024 16:50:40 +0200 Subject: [PATCH 08/39] feat(domain): _discord.jirafey.is-a.dev --- domains/_discord.jirafey.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/_discord.jirafey.json diff --git a/domains/_discord.jirafey.json b/domains/_discord.jirafey.json new file mode 100644 index 000000000..363a429d5 --- /dev/null +++ b/domains/_discord.jirafey.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "jirafey", + "email": "jirafey@tuta.io" + }, + "record": { + "TXT": "dh=3c80d94ed181b223255b5fbf35f8fda6a402058f" + } +} From 07d5c2a3ece79e802720e22e99dcaf3b03f0df8c Mon Sep 17 00:00:00 2001 From: jirafey <97115044+jirafey@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:57:04 +0200 Subject: [PATCH 09/39] Delete domains/_discord.jirafey.json --- domains/_discord.jirafey.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/_discord.jirafey.json diff --git a/domains/_discord.jirafey.json b/domains/_discord.jirafey.json deleted file mode 100644 index 363a429d5..000000000 --- a/domains/_discord.jirafey.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "jirafey", - "email": "jirafey@tuta.io" - }, - "record": { - "TXT": "dh=3c80d94ed181b223255b5fbf35f8fda6a402058f" - } -} From 6582453e8ac0b311c6059a2d3f7d2152526ee7eb Mon Sep 17 00:00:00 2001 From: jirafey Date: Fri, 5 Jan 2024 16:57:55 +0200 Subject: [PATCH 10/39] feat(domain): _discord.jirafey.is-a.dev --- domains/_discord.jirafey.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/_discord.jirafey.json diff --git a/domains/_discord.jirafey.json b/domains/_discord.jirafey.json new file mode 100644 index 000000000..363a429d5 --- /dev/null +++ b/domains/_discord.jirafey.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "jirafey", + "email": "jirafey@tuta.io" + }, + "record": { + "TXT": "dh=3c80d94ed181b223255b5fbf35f8fda6a402058f" + } +} From f852de965168337c402fa96a1a6bda8b28d20322 Mon Sep 17 00:00:00 2001 From: DINESH KUMAR CP <143308211+dinuhifi@users.noreply.github.com> Date: Sat, 6 Jan 2024 10:05:05 +0530 Subject: [PATCH 11/39] Register dinu.is-a.dev --- domains/dinu.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/dinu.json diff --git a/domains/dinu.json b/domains/dinu.json new file mode 100644 index 000000000..da6d11828 --- /dev/null +++ b/domains/dinu.json @@ -0,0 +1,12 @@ +{ + "owner": { + "username": "dinuhifi", + "email": "dinesh23110077@snuchennai.edu.in", + "discord": "708875392278200361" + }, + + "record": { + "CNAME": "nil" + } + } + \ No newline at end of file From eeaa163a7eb2c6114e529dd57ba08d3bb82cb5be Mon Sep 17 00:00:00 2001 From: Anubhav-Pathak Date: Sat, 6 Jan 2024 12:17:27 +0530 Subject: [PATCH 12/39] feat(domain): anubhav.is-a.dev --- domains/anubhav.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/anubhav.json diff --git a/domains/anubhav.json b/domains/anubhav.json new file mode 100644 index 000000000..db76a0aed --- /dev/null +++ b/domains/anubhav.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "Anubhav-Pathak", + "email": "anubhavpathak99@gmail.com" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 327c6b11d9803a6599ba86f7d25e51d7b6eb2ded Mon Sep 17 00:00:00 2001 From: Saptarshi Halder <62690091+saptarshihalder@users.noreply.github.com> Date: Sat, 6 Jan 2024 19:30:43 +0530 Subject: [PATCH 13/39] Update saptarshi.json --- domains/saptarshi.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/domains/saptarshi.json b/domains/saptarshi.json index 45f16b3ec..d5879d872 100644 --- a/domains/saptarshi.json +++ b/domains/saptarshi.json @@ -6,7 +6,7 @@ }, "record": { - "A": ["saptarshi"] + "CNAME": "https://saptarshihalder.github.io/home/" } } - \ No newline at end of file + From 9dbed11d9de67ddf6a8b9342f7ebb471c41945cd Mon Sep 17 00:00:00 2001 From: ZeaZolf Date: Sat, 6 Jan 2024 22:15:09 -0700 Subject: [PATCH 14/39] feat(domain): zeazolf.is-a.dev --- domains/zeazolf.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/zeazolf.json diff --git a/domains/zeazolf.json b/domains/zeazolf.json new file mode 100644 index 000000000..2397e8492 --- /dev/null +++ b/domains/zeazolf.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "ZeaZolf", + "email": "ZeaZolfPc@gmail.com" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 77a9e3b1867eb0c62dfbdef3e386f25c06924456 Mon Sep 17 00:00:00 2001 From: cmdwm Date: Sun, 7 Jan 2024 01:19:46 -0500 Subject: [PATCH 15/39] feat(domain): wm.is-a.dev --- domains/wm.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/wm.json diff --git a/domains/wm.json b/domains/wm.json new file mode 100644 index 000000000..7c1c9f373 --- /dev/null +++ b/domains/wm.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "cmdwm", + "email": "will@willm.xyz" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 2d8a4f4812610c6fa4c79846b626a65a189a9f9c Mon Sep 17 00:00:00 2001 From: BachNgoH Date: Sun, 7 Jan 2024 13:55:29 +0700 Subject: [PATCH 16/39] feat(domain): aivietnamllm.is-a.dev --- domains/aivietnamllm.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/aivietnamllm.json diff --git a/domains/aivietnamllm.json b/domains/aivietnamllm.json new file mode 100644 index 000000000..100cd8b28 --- /dev/null +++ b/domains/aivietnamllm.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "BachNgoH", + "email": "nlmbao2015@gmail.com" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 9647b5999dcce21f50dd93bfebc038c37783141f Mon Sep 17 00:00:00 2001 From: alijafari-gd Date: Sun, 7 Jan 2024 10:48:46 +0330 Subject: [PATCH 17/39] feat(domain): alijafari.is-a.dev --- domains/alijafari.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/alijafari.json diff --git a/domains/alijafari.json b/domains/alijafari.json new file mode 100644 index 000000000..e638a8338 --- /dev/null +++ b/domains/alijafari.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "alijafari-gd", + "email": "ali.jafari.sn@gmail.com" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 5a5812ae43590a5aabf79639dbbaee8725f6ffa6 Mon Sep 17 00:00:00 2001 From: alijafari-gd Date: Sun, 7 Jan 2024 10:52:11 +0330 Subject: [PATCH 18/39] feat(domain): a-j.is-a.dev --- domains/a-j.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/a-j.json diff --git a/domains/a-j.json b/domains/a-j.json new file mode 100644 index 000000000..17469e2f2 --- /dev/null +++ b/domains/a-j.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "alijafari-gd", + "email": "ali.jafari.sn@gmail.com" + }, + "record": { + "URL": "https://alijafari.is-a.dev" + } +} From 5019ab1a57edfab5cbb20433604b6879714f003b Mon Sep 17 00:00:00 2001 From: xiaozhu2007 Date: Sun, 7 Jan 2024 16:30:26 +0800 Subject: [PATCH 19/39] feat(domain): hackpig520.is-a.dev --- domains/hackpig520.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/hackpig520.json diff --git a/domains/hackpig520.json b/domains/hackpig520.json new file mode 100644 index 000000000..8f3286541 --- /dev/null +++ b/domains/hackpig520.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "xiaozhu2007", + "email": "lz19986912007@163.com" + }, + "record": { + "CNAME": "hashnode.network" + } +} From e7d299b3ea53ce9d301e60b453710e8af9d56527 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 7 Jan 2024 16:17:17 +0530 Subject: [PATCH 20/39] chore: test fix --- tests/cpanel.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cpanel.test.js b/tests/cpanel.test.js index d2fbd35a3..162a9a5d3 100644 --- a/tests/cpanel.test.js +++ b/tests/cpanel.test.js @@ -12,7 +12,7 @@ describe('Cpanel client', () => { describe('fetchzonerecords', () => { it('should make the correct request', async () => { const fetch = mockFetch((url, request) => { - expect(url).toBe('https://example.com:2000/json-api/cpanel?customonly=1&domain=a.b&cpanel_jsonapi_user=boy&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=fetchzone_records&cpanel_jsonapi_apiversion=2'); + expect(url).toBe('https://example.com:2000/json-api/cpanel?customonly=0&domain=a.b&cpanel_jsonapi_user=boy&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=fetchzone_records&cpanel_jsonapi_apiversion=2'); expect(request).toEqual({ headers: { Authorization: 'cpanel boy:boybyebye', @@ -35,7 +35,7 @@ describe('Cpanel client', () => { it('should make the correct request with query', async () => { const fetch = mockFetch((url, request) => { - expect(url).toBe('https://example.com:2000/json-api/cpanel?customonly=1&domain=foobar.boeey&cpanel_jsonapi_user=boy&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=fetchzone_records&cpanel_jsonapi_apiversion=2'); + expect(url).toBe('https://example.com:2000/json-api/cpanel?customonly=0&domain=foobar.boeey&cpanel_jsonapi_user=boy&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=fetchzone_records&cpanel_jsonapi_apiversion=2'); expect(request).toEqual({ headers: { Authorization: 'cpanel boy:boybyebye', From b1ed09ed303ae5b55f251832a094dcd3ec1c6843 Mon Sep 17 00:00:00 2001 From: b1ek Date: Sun, 7 Jan 2024 21:03:24 +1000 Subject: [PATCH 21/39] feat(domain): restore the blek.is-a.dev --- domains/blek.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 domains/blek.json diff --git a/domains/blek.json b/domains/blek.json new file mode 100644 index 000000000..5f5d64848 --- /dev/null +++ b/domains/blek.json @@ -0,0 +1,11 @@ +{ + "description": "blek is a dev", + "owner": { + "username": "b1ek", + "email": "me@blek.codes" + }, + "record": { + "A": [ "185.130.226.115" ] + "AAAA": [ "2a05:b40:0:570:4563:92af:9a56:7fc8" ] + } +} From 4a99e0663ffd1bf51d6bd500cb79ac825542c44e Mon Sep 17 00:00:00 2001 From: b1ek Date: Sun, 7 Jan 2024 21:13:33 +1000 Subject: [PATCH 22/39] fix(domain) fix validation error --- domains/blek.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/blek.json b/domains/blek.json index 5f5d64848..df17670cf 100644 --- a/domains/blek.json +++ b/domains/blek.json @@ -5,7 +5,7 @@ "email": "me@blek.codes" }, "record": { - "A": [ "185.130.226.115" ] + "A": [ "185.130.226.115" ], "AAAA": [ "2a05:b40:0:570:4563:92af:9a56:7fc8" ] } } From 9f24bf9b9e4749ee7bf55d0ca24525b2af8226a4 Mon Sep 17 00:00:00 2001 From: vuthanhtrung2010 <69748032+vuthanhtrung2010@users.noreply.github.com> Date: Sun, 7 Jan 2024 20:21:40 +0700 Subject: [PATCH 23/39] Create lavalink.trung.json --- domains/lavalink.trung.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/lavalink.trung.json diff --git a/domains/lavalink.trung.json b/domains/lavalink.trung.json new file mode 100644 index 000000000..c372c8070 --- /dev/null +++ b/domains/lavalink.trung.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "vuthanhtrung2010", + "email": "vuthanhtrungsuper@gmail.com" + }, + "record": { + "A": ["69.30.249.53"] + } +} From f428b9fe185e2e2d032269d63b78c5ab66f6acac Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 7 Jan 2024 20:57:47 +0530 Subject: [PATCH 24/39] fix: removes www restriction --- scripts/register-domains.js | 2 +- utils/domain-service.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/register-domains.js b/scripts/register-domains.js index 55e201a57..20670f8af 100644 --- a/scripts/register-domains.js +++ b/scripts/register-domains.js @@ -15,7 +15,7 @@ const toHostList = R.chain(data => { // URL redirection must contain explicit A record // Wildcard A record breaks when used with MX // Ref: https://github.com/is-a-dev/register/issues/2365 - if (data.record.URL && data.record.MX || data.name === '@') { + if ((data.record.URL && data.record.MX) || data.name === '@') { data.record.A = [ DOMAIN_HOST_IP ] } diff --git a/utils/domain-service.js b/utils/domain-service.js index 5cbafaa2a..f5385cc2a 100644 --- a/utils/domain-service.js +++ b/utils/domain-service.js @@ -134,7 +134,7 @@ const getDomainService = ({ cpanel }) => { batchLazyTasks(BATCH_SIZE), R.filter(Boolean), R.map(R.cond([ - [R.propEq('name', 'www'), R.always(null)], // Ignore www + // [R.propEq('name', 'www'), R.always(null)], // Ignore www [R.propEq('type', 'URL'), addRedirection], [R.T, addZoneRecord], ])), From ca4023af75f8101a5671e877953205610a4ffb39 Mon Sep 17 00:00:00 2001 From: aayank13 Date: Sun, 7 Jan 2024 07:43:33 -0800 Subject: [PATCH 25/39] feat(domain): aayank.is-a.dev --- domains/aayank.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/aayank.json diff --git a/domains/aayank.json b/domains/aayank.json new file mode 100644 index 000000000..269b5017e --- /dev/null +++ b/domains/aayank.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "aayank13", + "email": "aayank1306@gmail.com" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 3efafab38529ea4f398ded73b92ec9860c1039ef Mon Sep 17 00:00:00 2001 From: DarindaDraX <123kishanvish@gmail.com> Date: Sun, 7 Jan 2024 23:05:15 +0530 Subject: [PATCH 26/39] feat(domain): bot.dracx.is-a.dev --- domains/bot.dracx.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/bot.dracx.json diff --git a/domains/bot.dracx.json b/domains/bot.dracx.json new file mode 100644 index 000000000..68f770565 --- /dev/null +++ b/domains/bot.dracx.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "DarindaDraX", + "email": "123kishanvish@gmail.com" + }, + "record": { + "A": ["69.30.249.53"] + } +} From f3b432bd3a5cc57349d71df5e8662362c9cacabb Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 8 Jan 2024 07:20:06 +0800 Subject: [PATCH 27/39] Create _github-challenge-is-a-dev-org.json --- domains/_github-challenge-is-a-dev-org.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/_github-challenge-is-a-dev-org.json diff --git a/domains/_github-challenge-is-a-dev-org.json b/domains/_github-challenge-is-a-dev-org.json new file mode 100644 index 000000000..176de5ce3 --- /dev/null +++ b/domains/_github-challenge-is-a-dev-org.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "phenax5@gmail.com" + }, + + "record": { + "TXT": "0162e553bb" + } +} From 18cda7f2ff367a5761626d66f0fd38ff978aad24 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 8 Jan 2024 07:25:47 +0800 Subject: [PATCH 28/39] chore: update txt --- domains/_github-challenge-is-a-dev-org.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/_github-challenge-is-a-dev-org.json b/domains/_github-challenge-is-a-dev-org.json index 176de5ce3..db1e677a9 100644 --- a/domains/_github-challenge-is-a-dev-org.json +++ b/domains/_github-challenge-is-a-dev-org.json @@ -5,6 +5,6 @@ }, "record": { - "TXT": "0162e553bb" + "TXT": "2c9dfbe7c8" } } From a840881a91b9c580c12f0312347e03f3128d3bfb Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 8 Jan 2024 07:27:26 +0800 Subject: [PATCH 29/39] Create _github-pages-challenge-is-a-dev.team.json --- domains/_github-pages-challenge-is-a-dev.team.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/_github-pages-challenge-is-a-dev.team.json diff --git a/domains/_github-pages-challenge-is-a-dev.team.json b/domains/_github-pages-challenge-is-a-dev.team.json new file mode 100644 index 000000000..d7e139dbd --- /dev/null +++ b/domains/_github-pages-challenge-is-a-dev.team.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "phenax5@gmail.com" + }, + + "record": { + "TXT": "c551c059fb167540ec0498d9011556" + } +} From ba794e065001d7e8fb3c917ca19c190e4e9ddc5b Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 8 Jan 2024 07:31:30 +0800 Subject: [PATCH 30/39] Discard changes to domains/_discord.jirafey.is-a.dev.json --- domains/_discord.jirafey.is-a.dev.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/_discord.jirafey.is-a.dev.json diff --git a/domains/_discord.jirafey.is-a.dev.json b/domains/_discord.jirafey.is-a.dev.json deleted file mode 100644 index 8a5d67e15..000000000 --- a/domains/_discord.jirafey.is-a.dev.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "jirafey", - "email": "jirafey@tuta.io", - } - "record": { - "TXT": "dh=3c80d94ed181b223255b5fbf35f8fda6a402058f" - } -} From 26a651dc54540c123d9c3feead2c5ae7ac404384 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 8 Jan 2024 09:00:41 +0800 Subject: [PATCH 31/39] Delete .github/workflows/bot.yml --- .github/workflows/bot.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/bot.yml diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml deleted file mode 100644 index 4c68ceaa2..000000000 --- a/.github/workflows/bot.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Helper - -on: - pull_request: - types: - - closed - -jobs: - instructions: - name: instructions - runs-on: ubuntu-latest - steps: - - run: curl https://notify-api.is-a.dev/pr/merged/${{ github.event.pull_request.number }} - if: github.event.action == 'closed' && github.event.pull_request.merged == true -# - uses: actions/checkout@v2 -# - name: Comment -# if: github.event.action == 'closed' && github.event.pull_request.merged == true -# uses: actions/github-script@v3 -# with: -# github-token: ${{secrets.GITHUB_TOKEN}} -# script: | -# const { hasLabel } = require(`${process.env.GITHUB_WORKSPACE}/scripts/action-utils.js`); -# const { instructions } = require(`${process.env.GITHUB_WORKSPACE}/scripts/reply.js`); -# if (hasLabel(context, 'domain')) -# console.log('Domain'); -# await instructions(context, github); From 5b738c58cefe5477d75244753a346d5b899c1e38 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 8 Jan 2024 09:01:40 +0800 Subject: [PATCH 32/39] Delete domains/notify-api.json --- domains/notify-api.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 domains/notify-api.json diff --git a/domains/notify-api.json b/domains/notify-api.json deleted file mode 100644 index ef2dd2748..000000000 --- a/domains/notify-api.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "phenax5@gmail.com" - }, - - "record": { - "CNAME": "dns.beadman-network.com" - } -} From 037551e94612d0c601170942c284d1df1fcbc154 Mon Sep 17 00:00:00 2001 From: Nick <76174641+nikxso@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:06:31 +0530 Subject: [PATCH 33/39] [Update username] nik.json --- domains/nik.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/nik.json b/domains/nik.json index 36ee7b613..fae6c2cf1 100644 --- a/domains/nik.json +++ b/domains/nik.json @@ -1,6 +1,6 @@ { "owner": { - "username": "Nikhil", + "username": "nikxso", "email": "nikhilsoniya123@gmail.com", "discord": "nikxso#0000" }, From cfbebd612dd325fc7028ad8420e6c5006817f5f5 Mon Sep 17 00:00:00 2001 From: Siddhant Pandey Date: Mon, 8 Jan 2024 15:22:18 +0530 Subject: [PATCH 34/39] updated siddhant.is-a.dev --- domains/siddhant.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/siddhant.json b/domains/siddhant.json index 8f704162e..e4890fd6c 100644 --- a/domains/siddhant.json +++ b/domains/siddhant.json @@ -6,6 +6,6 @@ "email": "pandeysiddhant21@gmail.com" }, "record": { - "URL": "https://siddhantt.netlify.app" + "URL": "https://siddhantt.vercel.app/" } } From 18efe9beeec9fce3442327005928e5caabc85248 Mon Sep 17 00:00:00 2001 From: vuthanhtrung2010 <69748032+vuthanhtrung2010@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:28:55 +0700 Subject: [PATCH 35/39] Update uptime.trung.json --- domains/uptime.trung.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/uptime.trung.json b/domains/uptime.trung.json index c372c8070..d2832a9c2 100644 --- a/domains/uptime.trung.json +++ b/domains/uptime.trung.json @@ -4,6 +4,6 @@ "email": "vuthanhtrungsuper@gmail.com" }, "record": { - "A": ["69.30.249.53"] + "CNAME": "manage.uptime.trung.is-a.dev" } } From 736f62c1de72f49d2c7efcc9bf4b3f2a11549000 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 8 Jan 2024 21:40:01 +0530 Subject: [PATCH 36/39] fix(domains): removes MX+TXT record from @.json --- domains/@.json | 4 +--- utils/domain-service.js | 10 ++++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/domains/@.json b/domains/@.json index 6fdb9372b..56f1851e8 100644 --- a/domains/@.json +++ b/domains/@.json @@ -6,8 +6,6 @@ "email": "phenax5@gmail.com" }, "record": { - "URL": "http://www.is-a.dev", - "MX": ["mail.is-a.dev"], - "TXT": ["v=spf1 ip4:51.161.54.164 include:mail.is-a.dev ~all"] + "URL": "http://www.is-a.dev" } } diff --git a/utils/domain-service.js b/utils/domain-service.js index f5385cc2a..fe75aef04 100644 --- a/utils/domain-service.js +++ b/utils/domain-service.js @@ -59,6 +59,9 @@ const recordToEmailMx = ({ name, address, priority }) => ({ const getHostKey = host => `${host.name.toLowerCase()}##${host.type.toLowerCase()}##${host.address.toLowerCase()}`; +const isReserved = (domain) => + domain.name.startsWith('*') || !VALID_RECORD_TYPES.includes(domain.type) + const diffRecords = (oldRecords, newRecords) => { const isMatchingRecord = (a, b) => getHostKey(a) === getHostKey(b); @@ -84,13 +87,9 @@ const executeBatch = (batches) => batches.reduce((promise, batch, index) => { }); }, Promise.resolve()); -const isReserved = (domain) => - domain.name.startsWith('*') || - !VALID_RECORD_TYPES.includes(domain.type) - const getDomainService = ({ cpanel }) => { const fetchZoneRecords = R.compose( - then(R.filter(R.complement(isReserved))), + then(R.reject(isReserved)), then(R.map(zoneToRecord)), cpanel.zone.fetch ); @@ -134,7 +133,6 @@ const getDomainService = ({ cpanel }) => { batchLazyTasks(BATCH_SIZE), R.filter(Boolean), R.map(R.cond([ - // [R.propEq('name', 'www'), R.always(null)], // Ignore www [R.propEq('type', 'URL'), addRedirection], [R.T, addZoneRecord], ])), From fe9f301324b88739a83c61cba119790ff4bb58ce Mon Sep 17 00:00:00 2001 From: William Harrison Date: Tue, 9 Jan 2024 08:16:07 +0800 Subject: [PATCH 37/39] Discard changes to domains/dinu.json --- domains/dinu.json | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 domains/dinu.json diff --git a/domains/dinu.json b/domains/dinu.json deleted file mode 100644 index da6d11828..000000000 --- a/domains/dinu.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "owner": { - "username": "dinuhifi", - "email": "dinesh23110077@snuchennai.edu.in", - "discord": "708875392278200361" - }, - - "record": { - "CNAME": "nil" - } - } - \ No newline at end of file From d0a7fbd6a0afc1c44560f4381e2271b346f8cd7c Mon Sep 17 00:00:00 2001 From: William Harrison Date: Tue, 9 Jan 2024 08:16:28 +0800 Subject: [PATCH 38/39] Discard changes to domains/anubhavpathak.json --- domains/anubhavpathak.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/anubhavpathak.json diff --git a/domains/anubhavpathak.json b/domains/anubhavpathak.json deleted file mode 100644 index aa2d15c1a..000000000 --- a/domains/anubhavpathak.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "Anubhav-Pathak", - "email": "anubhavpathak99@gmail.com" - }, - "record": { - "CNAME": "anubhavpathak" - } -} From 6f280af0f6bfb4304f59223853da6a2b7f864906 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Tue, 9 Jan 2024 08:19:36 +0800 Subject: [PATCH 39/39] Update saptarshi.json --- domains/saptarshi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/saptarshi.json b/domains/saptarshi.json index d5879d872..8bdad1157 100644 --- a/domains/saptarshi.json +++ b/domains/saptarshi.json @@ -6,7 +6,7 @@ }, "record": { - "CNAME": "https://saptarshihalder.github.io/home/" + "CNAME": "saptarshihalder.github.io" } }