From 24ce4db887e08d4636ccf1474e7beac30a01176c Mon Sep 17 00:00:00 2001 From: William Harrison Date: Thu, 17 Oct 2024 19:26:16 +1100 Subject: [PATCH] updates --- MAINTAINERS.md | 1 - dnsconfig.js | 9 ++------ domains/@.json | 21 ++++++++++++++++--- ...-is-a-dev-o.m.json => _gh-is-a-dev-o.json} | 2 +- domains/_gh-is-a-dev-o.www.json | 10 --------- domains/_github-challenge-is-a-dev-org.json | 10 --------- ...github-pages-challenge-is-a-dev.docs.json} | 20 +++++++++--------- domains/discord.json | 4 ++-- domains/docs.json | 2 +- domains/m.json | 10 --------- domains/maintainers.json | 10 --------- domains/manage.json | 10 --------- domains/privacy.json | 9 -------- domains/redirect.json | 9 -------- domains/register.json | 10 --------- domains/www.json | 4 +--- 16 files changed, 35 insertions(+), 106 deletions(-) rename domains/{_gh-is-a-dev-o.m.json => _gh-is-a-dev-o.json} (77%) delete mode 100644 domains/_gh-is-a-dev-o.www.json delete mode 100644 domains/_github-challenge-is-a-dev-org.json rename domains/{_gh-is-a-dev-o.maintainers.json => _github-pages-challenge-is-a-dev.docs.json} (61%) delete mode 100644 domains/m.json delete mode 100644 domains/maintainers.json delete mode 100644 domains/manage.json delete mode 100644 domains/privacy.json delete mode 100644 domains/redirect.json delete mode 100644 domains/register.json diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 071673ba9..cb300be61 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -6,7 +6,6 @@ | CuteDog5695 | [@CuteDog5695](https://github.com/CuteDog5695) | Maintainer | | Daniel | [@hackermondev](https://github.com/hackermondev) | Maintainer | | DIBSTER | [@DEV-DIBSTER](https://github.com/DEV-DIBSTER) | Maintainer | -| MaskDuck | [@MaskDuck](https://github.com/MaskDuck) | Maintainer | | Om | [@omsenjalia](https://github.com/omsenjalia) | Maintainer | | orangc | [@orxngc](https://github.com/orxngc) | Maintainer | | Stef | [@Stef-00012](https://github.com/Stef-00012) | Maintainer | diff --git a/dnsconfig.js b/dnsconfig.js index 81c846dcf..ee1d9c8eb 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -28,13 +28,8 @@ for (var idx in domains) { var domainData = domains[idx].data; var proxyState = proxy.on; // enabled by default - if (!commit[domainName]) { - commit[domainName] = []; - } - - if (domainData.proxied === false) { - proxyState = proxy.off; - } + if (!commit[domainName]) commit[domainName] = []; + if (!domainData.proxied) proxyState = proxy.off; // Handle A records if (domainData.record.A) { diff --git a/domains/@.json b/domains/@.json index 4fe4c1133..0495405b7 100644 --- a/domains/@.json +++ b/domains/@.json @@ -1,11 +1,26 @@ { - "description": "The root domain for is-a.dev website", - "repo": "https://github.com/is-a-dev/is-a-dev.github.io", "owner": { "username": "is-a-dev", "email": "" }, "record": { - "URL": "http://www.is-a.dev" + "A": [ + "185.199.108.153", + "185.199.109.153", + "185.199.110.153", + "185.199.111.153" + ], + "AAAA": [ + "2606:50c0:8000::153", + "2606:50c0:8001::153", + "2606:50c0:8002::153", + "2606:50c0:8003::153" + ], + "MX": [ + "route1.mx.cloudflare.net", + "route2.mx.cloudflare.net", + "route3.mx.cloudflare.net" + ], + "TXT": "v=spf1 include:_spf.mx.cloudflare.net ~all" } } diff --git a/domains/_gh-is-a-dev-o.m.json b/domains/_gh-is-a-dev-o.json similarity index 77% rename from domains/_gh-is-a-dev-o.m.json rename to domains/_gh-is-a-dev-o.json index e7af9390b..804fb9f73 100644 --- a/domains/_gh-is-a-dev-o.m.json +++ b/domains/_gh-is-a-dev-o.json @@ -5,6 +5,6 @@ }, "record": { - "TXT": "e0ffcded3e" + "TXT": "9ac06a2c1c" } } diff --git a/domains/_gh-is-a-dev-o.www.json b/domains/_gh-is-a-dev-o.www.json deleted file mode 100644 index a93e75f33..000000000 --- a/domains/_gh-is-a-dev-o.www.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - - "record": { - "TXT": "1259c184c5" - } -} diff --git a/domains/_github-challenge-is-a-dev-org.json b/domains/_github-challenge-is-a-dev-org.json deleted file mode 100644 index d9ade36b1..000000000 --- a/domains/_github-challenge-is-a-dev-org.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - - "record": { - "TXT": "2c9dfbe7c8" - } -} diff --git a/domains/_gh-is-a-dev-o.maintainers.json b/domains/_github-pages-challenge-is-a-dev.docs.json similarity index 61% rename from domains/_gh-is-a-dev-o.maintainers.json rename to domains/_github-pages-challenge-is-a-dev.docs.json index e381c3c8c..65e45a0f8 100644 --- a/domains/_gh-is-a-dev-o.maintainers.json +++ b/domains/_github-pages-challenge-is-a-dev.docs.json @@ -1,10 +1,10 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - - "record": { - "TXT": "7b45eb688b" - } -} +{ + "owner": { + "username": "is-a-dev", + "email": "" + }, + + "record": { + "TXT": "c5409850ced5dfc8fb88283246972e" + } +} diff --git a/domains/discord.json b/domains/discord.json index 656c64a52..8020b2f1b 100644 --- a/domains/discord.json +++ b/domains/discord.json @@ -1,9 +1,9 @@ { "owner": { "username": "is-a-dev", - "email": "m@is-a.dev" + "email": "" }, "record": { - "CNAME": "edge.redirect.pizza" + "URL": "https://discord.gg/is-a-dev-830872854677422150" } } diff --git a/domains/docs.json b/domains/docs.json index 946773150..51b50f786 100644 --- a/domains/docs.json +++ b/domains/docs.json @@ -6,6 +6,6 @@ "email": "" }, "record": { - "URL": "https://www.is-a.dev/docs" + "CNAME": "is-a.dev" } } diff --git a/domains/m.json b/domains/m.json deleted file mode 100644 index ce1ab1851..000000000 --- a/domains/m.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - "record": { - "MX": ["mail.hrsn.net"], - "TXT": "v=spf1 include:_spf.hrsn.net ~all" - } -} diff --git a/domains/maintainers.json b/domains/maintainers.json deleted file mode 100644 index ce1ab1851..000000000 --- a/domains/maintainers.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - "record": { - "MX": ["mail.hrsn.net"], - "TXT": "v=spf1 include:_spf.hrsn.net ~all" - } -} diff --git a/domains/manage.json b/domains/manage.json deleted file mode 100644 index f27db0ab3..000000000 --- a/domains/manage.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - - "record": { - "URL": "https://github.com/is-a-dev/register" - } -} diff --git a/domains/privacy.json b/domains/privacy.json deleted file mode 100644 index 6f3b6f9c6..000000000 --- a/domains/privacy.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - "record": { - "URL": "https://owl.is-a.dev" - } -} diff --git a/domains/redirect.json b/domains/redirect.json deleted file mode 100644 index 8b7a9f235..000000000 --- a/domains/redirect.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - "record": { - "TXT": "RESERVED FOR REDIRECT URLS" - } -} diff --git a/domains/register.json b/domains/register.json deleted file mode 100644 index f27db0ab3..000000000 --- a/domains/register.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "" - }, - - "record": { - "URL": "https://github.com/is-a-dev/register" - } -} diff --git a/domains/www.json b/domains/www.json index af576c718..d41bee02d 100644 --- a/domains/www.json +++ b/domains/www.json @@ -1,11 +1,9 @@ { - "description": "The is-a.dev website", - "repo": "https://github.com/is-a-dev/is-a-dev.github.io", "owner": { "username": "is-a-dev", "email": "" }, "record": { - "CNAME": "is-a-dev.github.io" + "CNAME": "is-a.dev" } }