diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 9fc9d34de..1c5f7d0ca 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -11,6 +11,6 @@ jobs: fetch-depth: 0 - uses: oven-sh/setup-bun@v1 with: - bun-version: 1.0.0 + bun-version: 1.0.3 - run: bun install - run: bun test diff --git a/.github/workflows/publish-records.yml b/.github/workflows/publish-records.yml index 7a0ab3e06..522179f4d 100644 --- a/.github/workflows/publish-records.yml +++ b/.github/workflows/publish-records.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: oven-sh/setup-bun@v1 with: - bun-version: 1.0.0 + bun-version: 1.0.3 - run: bun install - run: bun test - name: Publishing records diff --git a/bun.lockb b/bun.lockb index f6fab3304..502212010 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/domains/1024.json b/domains/1024.json new file mode 100644 index 000000000..d2301f533 --- /dev/null +++ b/domains/1024.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "cy920820", + "email": "cuiyang673308817@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/ap.sami.json b/domains/3kh0.json similarity index 70% rename from domains/ap.sami.json rename to domains/3kh0.json index 6f3b03b04..33565c187 100644 --- a/domains/ap.sami.json +++ b/domains/3kh0.json @@ -1,7 +1,7 @@ { "owner": { - "username": "obstructed", - "email": "scamstur@gmail.com" + "username": "3kh0", + "email": "echo-the-coder@tuta.io" }, "record": { "A": ["217.174.245.249"], diff --git a/domains/abhishekpanda.json b/domains/abhishekpanda.json new file mode 100644 index 000000000..d9f28916f --- /dev/null +++ b/domains/abhishekpanda.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "goesbyabhi", + "email": "abxisxekpanda@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/adev.json b/domains/adev.json new file mode 100644 index 000000000..cd4d6b18a --- /dev/null +++ b/domains/adev.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "NotJack173", + "email": "NotJack137@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/api.stefdp.json b/domains/api.stefdp.json new file mode 100644 index 000000000..8925f5839 --- /dev/null +++ b/domains/api.stefdp.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Stef-00012", + "email": "stefano.delprete.08@gmail.com", + "discord": "694986201739952229" + }, + + "record": { + "CNAME": "api-stefdp.onrender.com" + } +} diff --git a/domains/atharva.json b/domains/atharva.json index ce05b2a98..98fa0ec8c 100644 --- a/domains/atharva.json +++ b/domains/atharva.json @@ -1,11 +1,11 @@ { - "repo": "https://github.com/atharvalt/atharvalt.github.io", + "repo": "https://github.com/atharvaupadhyay/atharvaupadhyay.github.io", "owner": { - "username": "atharvalt", + "username": "atharvaupadhyay", "email": "atharva.upadhyay1099@gmail.com", - "discord": "ã‚·Atharva#5374" + "discord": "atharvaupadhyay" }, "record": { - "CNAME": "atharvalt.github.io" + "CNAME": "atharvaupadhyay.github.io" } } diff --git a/domains/ayaan.json b/domains/ayaan.json new file mode 100644 index 000000000..c059fac4c --- /dev/null +++ b/domains/ayaan.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "dexjr", + "email": "dexjrdexjr@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/bampa.json b/domains/bampa.json new file mode 100644 index 000000000..f1d92badb --- /dev/null +++ b/domains/bampa.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "bampenes", + "email": "rafinhabampa@hotmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/beluminh.json b/domains/beluminh.json new file mode 100644 index 000000000..bda9f1b0a --- /dev/null +++ b/domains/beluminh.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "istrueuser", + "email": "thisistrueemail@gmail.com" + }, + "record": { + "A": ["35.186.245.55"] + } +} diff --git a/domains/boggy.json b/domains/boggy.json new file mode 100644 index 000000000..1aabec005 --- /dev/null +++ b/domains/boggy.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "boggy539", + "email": "ethanbogdan@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/cassie.json b/domains/cassie.json index 0d7b4ff3c..6357cb664 100644 --- a/domains/cassie.json +++ b/domains/cassie.json @@ -1,11 +1,11 @@ { + "description": "Personal website", + "repo": "https://github.com/diordnas/diordnas.github.io", "owner": { "username": "Diordnas", "email": "cassthepurple@gmail.com" }, "record": { - "A": ["217.174.245.249"], - "MX": ["hosts.is-a.dev"], - "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + "CNAME": "diordnas.github.io" } } diff --git a/domains/gattinhosbot.json b/domains/cdn.stefdp.json similarity index 76% rename from domains/gattinhosbot.json rename to domains/cdn.stefdp.json index 42842af05..b10f7e6db 100644 --- a/domains/gattinhosbot.json +++ b/domains/cdn.stefdp.json @@ -4,6 +4,6 @@ "email": "stefano.delprete.08@gmail.com" }, "record": { - "CNAME": "nl2-4.deploy.sbs" + "CNAME": "cl-gl94ec41ff.gcdn.co" } } diff --git a/domains/cha0tic.json b/domains/cha0tic.json new file mode 100644 index 000000000..ed013d614 --- /dev/null +++ b/domains/cha0tic.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "cha0ticcoder", + "email": "chaoticplayern1@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/chandrabose.json b/domains/chandrabose.json new file mode 100644 index 000000000..39ffd69d3 --- /dev/null +++ b/domains/chandrabose.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "chandrabosep", + "email": "chandrabosep3112@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/darian.json b/domains/darian.json new file mode 100644 index 000000000..db4c9a500 --- /dev/null +++ b/domains/darian.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "justDarian", + "email": "Darian.mohaseb@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/filo.json b/domains/filo.json new file mode 100644 index 000000000..93d0bdbd2 --- /dev/null +++ b/domains/filo.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Filo6699", + "email": "karka2-6@rambler.ru" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/furrycality.json b/domains/furrycality.json new file mode 100644 index 000000000..8da97f979 --- /dev/null +++ b/domains/furrycality.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Furrycality", + "email": "furrycality@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/hcs.json b/domains/hcs.json index 1827deba9..b585e5e80 100644 --- a/domains/hcs.json +++ b/domains/hcs.json @@ -4,6 +4,6 @@ "email": "hcskaiask@gmail.com" }, "record": { - "A": ["5.196.239.158"] + "CNAME": "hcs1219.github.io" } } diff --git a/domains/hecterbonha.json b/domains/hecterbonha.json index 968d60afe..3d5ed03cd 100644 --- a/domains/hecterbonha.json +++ b/domains/hecterbonha.json @@ -3,8 +3,9 @@ "username": "hecterbonha", "email": "untungsoandryanto@gmail.com" }, - "record": { - "CNAME": "hecterbonha.github.io" + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" } } diff --git a/domains/heyjumanji.json b/domains/heyjumanji.json new file mode 100644 index 000000000..a1fd687e9 --- /dev/null +++ b/domains/heyjumanji.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "heyjumanji", + "email": "madhuchutiya.unhinge650@silomails.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/hkamran.json b/domains/hkamran.json new file mode 100644 index 000000000..3710123e0 --- /dev/null +++ b/domains/hkamran.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "hkamran80", + "email": "hkamran@hkamran.com" + }, + "record": { + "URL": "https://hkamran.com/?ref=isadev" + } +} diff --git a/domains/imzihad21.json b/domains/imzihad21.json index 80f3f1f2e..2caf19341 100644 --- a/domains/imzihad21.json +++ b/domains/imzihad21.json @@ -4,8 +4,6 @@ "email": "imzihad@gmail.com" }, "record": { - "A": ["52.77.224.107"], - "MX": ["mx1.forwardemail.net", "mx2.forwardemail.net"], - "TXT": "forward-email=imzihad@gmail.com" + "CNAME": "ec2-13-250-29-91.ap-southeast-1.compute.amazonaws.com" } } diff --git a/domains/interstellar.json b/domains/interstellar.json new file mode 100644 index 000000000..6c986115d --- /dev/null +++ b/domains/interstellar.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "jacksoncraft859", + "email": "pollardjackson@outlook.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/interstellar.ultrix.json b/domains/interstellar.ultrix.json new file mode 100644 index 000000000..6c986115d --- /dev/null +++ b/domains/interstellar.ultrix.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "jacksoncraft859", + "email": "pollardjackson@outlook.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/itsdemongamez.json b/domains/itsdemongamez.json index de9479e59..8dbd2ff9f 100644 --- a/domains/itsdemongamez.json +++ b/domains/itsdemongamez.json @@ -1,11 +1,11 @@ { "owner": { - "username": "ShadowPlayzYT22", - "email": "peterwyneg@gmail.com" + "username": "DemonGamez", + "email": "peterwyneg@gmail.com", + "discord": "1038747272701292584" }, + "record": { - "A": ["217.174.245.249"], - "MX": ["hosts.is-a.dev"], - "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + "CNAME": "DemonGamez.github.io" } -} \ No newline at end of file +} diff --git a/domains/jamez.json b/domains/jamez.json new file mode 100644 index 000000000..c392e4547 --- /dev/null +++ b/domains/jamez.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "jamesisacutedog", + "email": "jamezemailreal@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/jasonthomas.json b/domains/jasonthomas.json new file mode 100644 index 000000000..25fd6253b --- /dev/null +++ b/domains/jasonthomas.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Wizrst641", + "email": "slxppyznet18@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/juliocesar.json b/domains/juliocesar.json new file mode 100644 index 000000000..6148b124e --- /dev/null +++ b/domains/juliocesar.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "jcwisniewski", + "email": "julio.wisnieski@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/kainer.json b/domains/kainer.json new file mode 100644 index 000000000..c60567d15 --- /dev/null +++ b/domains/kainer.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "ue5377", + "email": "kai.ner.h13r@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/kaizin.json b/domains/kaizin.json new file mode 100644 index 000000000..61c458efc --- /dev/null +++ b/domains/kaizin.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "kaizinbr", + "email": "kaiolucas1812@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/kasun.json b/domains/kasun.json index 5357adba1..399897a55 100644 --- a/domains/kasun.json +++ b/domains/kasun.json @@ -4,8 +4,6 @@ "email": "givemelognotes@gmail.com" }, "record": { - "A": ["217.174.245.249"], - "MX": ["hosts.is-a.dev"], - "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" - } -} \ No newline at end of file + "URL": "https://ka0un.github.io" + } +} diff --git a/domains/kresswell.json b/domains/kresswell.json new file mode 100644 index 000000000..fa05957b0 --- /dev/null +++ b/domains/kresswell.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Kresswell", + "email": "simonecresswell@outlook.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/lenn106.json b/domains/lenn106.json new file mode 100644 index 000000000..5436a8c28 --- /dev/null +++ b/domains/lenn106.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Lenn106", + "email": "lennongreyson@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/marketplace.syntaxlooper.json b/domains/marketplace.syntaxlooper.json new file mode 100644 index 000000000..a23664d55 --- /dev/null +++ b/domains/marketplace.syntaxlooper.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "chiragnahata", + "email": "chiragnahata05@gmail.com" + }, + "record": { + "A": ["129.213.151.29"] + } +} diff --git a/domains/mrj.json b/domains/mrj.json index a4d0a1fee..f3e362dd2 100644 --- a/domains/mrj.json +++ b/domains/mrj.json @@ -4,6 +4,8 @@ "email": "illegalhacker2.0@gmail.com" }, "record": { - "CNAME": "glitch.edgeapp.net" + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" } } diff --git a/domains/nixxvl.json b/domains/nixxvl.json new file mode 100644 index 000000000..d1b4d3d3c --- /dev/null +++ b/domains/nixxvl.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "nixxvl", + "email": "noyboyroblox@gmail.com" + }, + "record": { + "CNAME": "nixxvl.space" + } +} diff --git a/domains/nxrmqlly.json b/domains/nxrmqlly.json index 555499f81..b9aeb3834 100644 --- a/domains/nxrmqlly.json +++ b/domains/nxrmqlly.json @@ -1,11 +1,12 @@ { + "description": "Personal website", + "repo": "https://github.com/nxrmqlly/nxrmqlly.github.io", "owner": { "username": "nxrmqlly", - "email": "ritam.das3110@outlook.com" + "email": "ritam.das3110@outlook.com", + "twitter": "" }, "record": { - "A": ["217.174.245.249"], - "MX": ["hosts.is-a.dev"], - "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + "CNAME": "nxrmqlly.github.io" } -} \ No newline at end of file +} diff --git a/domains/pi.json b/domains/pi.json new file mode 100644 index 000000000..c3f46e605 --- /dev/null +++ b/domains/pi.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "4pii4", + "email": "naivenevaii@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/pie.json b/domains/pie.json new file mode 100644 index 000000000..c3f46e605 --- /dev/null +++ b/domains/pie.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "4pii4", + "email": "naivenevaii@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/pranjal.json b/domains/pranjal.json new file mode 100644 index 000000000..aeca0df34 --- /dev/null +++ b/domains/pranjal.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Pranjal-SB", + "email": "psbhatnagar.in@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/renata.json b/domains/renata.json new file mode 100644 index 000000000..57db3a46a --- /dev/null +++ b/domains/renata.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "xrenata", + "email": "emirhan@duck.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/saatvik.json b/domains/saatvik.json new file mode 100644 index 000000000..4dfeac60c --- /dev/null +++ b/domains/saatvik.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "atharvalt", + "email": "beast.gaming1099@gmail.com" + }, + "record": { + "CNAME": "atharvaupadhyay.github.io" + } +} diff --git a/domains/sayantan.json b/domains/sayantan.json new file mode 100644 index 000000000..138802c0b --- /dev/null +++ b/domains/sayantan.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "legendsayantan", + "email": "legendsayantanpaul@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/scor32k.json b/domains/scor32k.json new file mode 100644 index 000000000..dd1a67730 --- /dev/null +++ b/domains/scor32k.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "scorcism", + "email": "abhishekpathak1720@gmail.com" + }, + "record": { + "URL": "https://scor32k.vercel.app/" + } +} diff --git a/domains/scorcism.json b/domains/scorcism.json new file mode 100644 index 000000000..04606b840 --- /dev/null +++ b/domains/scorcism.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "scorcism", + "email": "abhishekpathak1720@gmail.com" + }, + "record": { + "URL": "https://github.com/scorcism" + } +} diff --git a/domains/selenite.json b/domains/selenite.json new file mode 100644 index 000000000..1943cc900 --- /dev/null +++ b/domains/selenite.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "skysthelimitt", + "email": "skysth3limit@pm.me" + }, + "record": { + "CNAME": "selenite.pages.dev" + } +} diff --git a/domains/sharan.json b/domains/sharan.json new file mode 100644 index 000000000..a987bb6e0 --- /dev/null +++ b/domains/sharan.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "sharan-218", + "email": "yenugulasharan8019@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/spa.json b/domains/spa.json new file mode 100644 index 000000000..958a47c75 --- /dev/null +++ b/domains/spa.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "stepersy", + "email": "stefano.persanoadorno@liceopertini.edu.it" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/stellaros.json b/domains/stellaros.json new file mode 100644 index 000000000..6c986115d --- /dev/null +++ b/domains/stellaros.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "jacksoncraft859", + "email": "pollardjackson@outlook.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/sushi.json b/domains/sushi.json new file mode 100644 index 000000000..94b8eae52 --- /dev/null +++ b/domains/sushi.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "sushi-ae", + "email": "frapdotpng@gmail.com" + }, + + "record": { + "CNAME": "sushi-ae.neocities.org" + } +} diff --git a/domains/syntaxloopers.json b/domains/syntaxloopers.json new file mode 100644 index 000000000..a23664d55 --- /dev/null +++ b/domains/syntaxloopers.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "chiragnahata", + "email": "chiragnahata05@gmail.com" + }, + "record": { + "A": ["129.213.151.29"] + } +} diff --git a/domains/tanish.json b/domains/tanish.json new file mode 100644 index 000000000..81737f663 --- /dev/null +++ b/domains/tanish.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "hirakotm", + "email": "hirakoo@proton.me" + }, + "record": { + "CNAME": "hirako-is-really-cool.pages.dev" + } +} diff --git a/domains/totoygamingyt.json b/domains/totoygamingyt.json deleted file mode 100644 index f0dd10dae..000000000 --- a/domains/totoygamingyt.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "owner": { - "username": "totoygamingyt", - "email": "hello@totoygamingyt.com", - "twitter": "TotoyGamingYT", - "discord": "totoygamingyt" - }, - "record": { - "CNAME": "totoygamingyt.pages.dev" - } -} diff --git a/domains/trueuser.json b/domains/trueuser.json new file mode 100644 index 000000000..bda9f1b0a --- /dev/null +++ b/domains/trueuser.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "istrueuser", + "email": "thisistrueemail@gmail.com" + }, + "record": { + "A": ["35.186.245.55"] + } +} diff --git a/domains/ukirio.json b/domains/ukirio.json new file mode 100644 index 000000000..392964700 --- /dev/null +++ b/domains/ukirio.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "U8K50", + "email": "u8k50850@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/ultrix.json b/domains/ultrix.json new file mode 100644 index 000000000..6c986115d --- /dev/null +++ b/domains/ultrix.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "jacksoncraft859", + "email": "pollardjackson@outlook.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/winniepat.json b/domains/winniepat.json new file mode 100644 index 000000000..573a55433 --- /dev/null +++ b/domains/winniepat.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "RavagerEdge", + "email": "wc92226@gmail.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/domains/zhougonglai.json b/domains/zhougonglai.json new file mode 100644 index 000000000..48663a97c --- /dev/null +++ b/domains/zhougonglai.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "zhougonglai", + "email": "838048635@qq.com" + }, + "record": { + "A": ["217.174.245.249"], + "MX": ["hosts.is-a.dev"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all" + } +} \ No newline at end of file diff --git a/package.json b/package.json index 587307bab..ccc8dbd41 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "author": "Akshay Nair ", "license": "GPL-3.0", "dependencies": { + "ip-regex": "^5.0.0", "ramda": "^0.27.1" }, "devDependencies": { diff --git a/tests/validations.test.js b/tests/validations.test.js index 219546bad..a07ccf6fa 100644 --- a/tests/validations.test.js +++ b/tests/validations.test.js @@ -59,6 +59,11 @@ describe('validateDomainData', () => { { ...defaultDomain, name: 'help.baa' }, { ...defaultDomain, name: '_github-pages-challenge-is-a-dev' }, { ...defaultDomain, name: '_github-challenge-is-a-dev' }, + { ...defaultDomain, record: { AAAA: [] } }, + { ...defaultDomain, record: { AAAA: ['182.22.222.22', '::1'] } }, + { ...defaultDomain, record: { AAAA: '182.22.222.22' } }, + { ...defaultDomain, record: { A: '::1' } }, + { ...defaultDomain, name: '_discord' }, ]; const validCases = [ @@ -86,6 +91,9 @@ describe('validateDomainData', () => { { ...defaultDomain, name: '_github-challenge-hello01-ga' }, { ...defaultDomain, name: '_github-challenge-hello01_ga' }, { ...defaultDomain, record: { TXT: ['foobar wow nice!!!', 'more text'] } }, + { ...defaultDomain, record: { AAAA: ['::1', '2001:db8:3333:4444:5555:6666:7777:8888'] } }, + { ...defaultDomain, record: { A: ['122.222.222.222'] } }, + { ...defaultDomain, name: '_discord.subdomain' }, ]; it('should return false for invalid data', () => { diff --git a/utils/constants.js b/utils/constants.js index 273a2761e..19430e5bf 100644 --- a/utils/constants.js +++ b/utils/constants.js @@ -18,7 +18,7 @@ const DOMAINS_PATH = path.resolve('domains'); module.exports = { ENV, IS_TEST, - VALID_RECORD_TYPES: ['CNAME', 'A', 'URL', 'MX', 'TXT'], + VALID_RECORD_TYPES: ['CNAME', 'A', 'URL', 'MX', 'TXT', 'AAAA'], DOMAIN_DOMAIN: DOMAIN_DOMAIN || 'booboo.xyz', DOMAIN_USER: IS_TEST ? 'testuser' : DOMAIN_USER, DOMAIN_API_KEY: IS_TEST ? 'testkey' : DOMAIN_API_KEY, diff --git a/utils/invalid-domains.json b/utils/invalid-domains.json index a8943f3c4..ef66a5517 100644 --- a/utils/invalid-domains.json +++ b/utils/invalid-domains.json @@ -14,5 +14,6 @@ "ww3", "ww4", "wwww", - "your-domain-name" + "your-domain-name", + "_discord" ] diff --git a/utils/validations.js b/utils/validations.js index 9a99343fa..b9c851a19 100644 --- a/utils/validations.js +++ b/utils/validations.js @@ -2,6 +2,8 @@ const R = require('ramda'); const { VALID_RECORD_TYPES } = require('./constants'); const { or, and, validate, between, testRegex, withLengthEq, withLengthGte } = require('./helpers'); const INVALID_NAMES = require('./invalid-domains.json'); +const ipRegex_ = require('ip-regex'); +const ipRegex = ipRegex_.default ?? ipRegex_; const isValidURL = and([R.is(String), testRegex(/^https?:\/\//ig)]); @@ -17,6 +19,7 @@ const validateCnameRecord = type => and([ const validateARecord = type => and([ R.propIs(Array, type), R.propSatisfies(withLengthGte(1), type), + R.all(testRegex(ipRegex.v4({ exact: true }))), ]); const validateMXRecord = type => and([ @@ -25,8 +28,19 @@ const validateMXRecord = type => and([ R.propSatisfies(R.all(isValidDomain), type), ]); +const validateAAAARecord = R.propSatisfies(and([ + R.is(Array), + withLengthGte(1), + R.all(testRegex(ipRegex.v6({ exact: true }))), +])) + const checkRestrictedNames = R.complement(R.includes(R.__, INVALID_NAMES)) +const extraSupportedNames = [ + testRegex(/^_github(-pages)?-challenge-[a-z0-9-_]+$/i), // Exception for github verification records + R.equals('_discord'), +] + const validateDomainData = validate({ name: { reason: 'The name of the file is invalid. It must be lowercased, alphanumeric and each component must be more than 2 characters long', @@ -34,17 +48,15 @@ const validateDomainData = validate({ R.equals('@'), and([ R.is(String), + checkRestrictedNames, R.compose( R.all(or([ - and([ - testRegex(/^_github(-pages)?-challenge-[a-z0-9-_]+$/i), // Exception for github verification records - checkRestrictedNames, - ]), and([ R.compose(between(2, 100), R.length), testRegex(/^[a-z0-9-]+$/g), checkRestrictedNames, - ]) + ]), + ...extraSupportedNames, ])), R.split('.'), ), @@ -75,6 +87,7 @@ const validateDomainData = validate({ [R.has('URL'), R.propSatisfies(isValidURL, 'URL')], [R.has('MX'), validateMXRecord('MX')], [R.has('TXT'), R.propSatisfies(or([ R.is(String), R.is(Array) ]), 'TXT')], + [R.has('AAAA'), validateAAAARecord('AAAA')], [R.T, R.T], ]), ]),