diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9622ebd4a..0bd1f89ca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,3 +30,8 @@ jobs: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} with: args: push + + - name: Trigger URL Webhook + env: + WEBHOOK_URL: ${{ secrets.URL_WEBHOOK }} + run: curl -X GET "$WEBHOOK_URL" diff --git a/MAINTAINERS.md b/MAINTAINERS.md index cb300be61..3c503188b 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -7,5 +7,5 @@ | Daniel | [@hackermondev](https://github.com/hackermondev) | Maintainer | | DIBSTER | [@DEV-DIBSTER](https://github.com/DEV-DIBSTER) | Maintainer | | Om | [@omsenjalia](https://github.com/omsenjalia) | Maintainer | -| orangc | [@orxngc](https://github.com/orxngc) | Maintainer | +| orangc | [@orangci](https://github.com/orangci) | Maintainer | | Stef | [@Stef-00012](https://github.com/Stef-00012) | Maintainer | diff --git a/dnsconfig.js b/dnsconfig.js index 88d2f8d3a..e292badeb 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -60,7 +60,7 @@ for (var subdomain in domains) { // Handle MX records if (domainData.record.MX) { for (var mx in domainData.record.MX) { - commit.push(MX(subdomainName, 10, domainData.record.MX[mx] + ".")); + commit.push(MX(subdomainName, 10 + parseInt(mx), domainData.record.MX[mx] + ".")); } } @@ -92,7 +92,7 @@ for (var subdomain in domains) { // Handle URL records if (domainData.record.URL) { - commit.push(A(subdomainName, "192.0.2.1", { cloudflare_proxy: "on" })); + commit.push(A(subdomainName, IP("192.0.2.1"), { cloudflare_proxy: "on" })); } } @@ -106,7 +106,8 @@ commit.push(IGNORE("_dmarc", "TXT")); commit.push(IGNORE("_psl", "TXT")); commit.push(IGNORE("autoconfig", "CNAME")); commit.push(IGNORE("autodiscover", "CNAME")); +commit.push(IGNORE("internal", "DS,NS")); commit.push(IGNORE("ns[1-5]", "A,AAAA")); // Commit all DNS records -D("is-a.dev", NewRegistrar("none"), DnsProvider(NewDnsProvider("cloudflare", { "manage_single_redirects": true })), commit); +D("is-a.dev", NewRegistrar("none"), DnsProvider(NewDnsProvider("cloudflare")), commit); diff --git a/domains/opulentloop.json b/domains/debjit.json similarity index 53% rename from domains/opulentloop.json rename to domains/debjit.json index a15d1f1d2..5c9f21bfa 100644 --- a/domains/opulentloop.json +++ b/domains/debjit.json @@ -1,9 +1,9 @@ { "owner": { - "username": "opulentloop", + "username": "mysticdebjit", "email": "debjitmandal8925@gmail.com" }, "record": { - "CNAME": "opulentloop.github.io" + "CNAME": "mysticdebjit.github.io" } } diff --git a/domains/w.json b/domains/w.json new file mode 100644 index 000000000..87c47b82a --- /dev/null +++ b/domains/w.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "wdhdev", + "email": "william@is-a.dev" + }, + + "record": { + "URL": "https://william.is-a.dev" + } +} diff --git a/domains/william.json b/domains/william.json index 0dc69e1cc..607a747de 100644 --- a/domains/william.json +++ b/domains/william.json @@ -5,6 +5,6 @@ }, "record": { - "NS": ["chuck.ns.cloudflare.com", "walk.ns.cloudflare.com"] + "NS": ["bingo.ns.cloudflare.com", "matias.ns.cloudflare.com"] } }