Skip to content

Commit

Permalink
feat: add custom stripe "pay" subdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig committed Mar 14, 2024
1 parent f82430f commit c140fa0
Show file tree
Hide file tree
Showing 4 changed files with 3,068 additions and 35 deletions.
46 changes: 31 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,21 +282,37 @@ D("noclocks.dev", REG_NONE, DnsProvider(DSP_PORKBUN),

*As of 2024-02-23:*

| Type | Host | Value | TTL | Notes |
|:-------:|:----------------------------------:|:---------------------------------------------:|:---:|:-------------------------------------:|
| `ALIAS` | `@` | `pixie.porkbun.com.` | 60 | `ALIAS` record for root domain |
| `CNAME` | `*` | `pixie.porkbun.com.` | 600 | `CNAME` record for wildcard subdomain |
| `CNAME` | `www` | `noclocks.dev.` | 600 | `CNAME` record for "www" subdomain |
| `CNAME` | `docs` | `noclocks.github.io.` | 600 | `CNAME` record for GitHub Pages |
| `CNAME` | `blog` | `39843493.group43.sites.hubspot.net` | 600 | `CNAME` record for blog subdomain |
| `MX` | `@` | `fwd1.porkbun.com.` | 600 | `MX` record for email forwarding |
| `MX` | `@` | `fwd2.porkbun.com.` | 600 | `MX` record for email forwarding |
| `TXT` | `@` | `v=spf1 include:_spf.porkbun.com ~all` | 300 | `SPF` record for email forwarding |
| `TXT` | `default._domainkey` | `v=DKIM1; k=rsa; ...` | 300 | `DKIM` record for email forwarding |
| `TXT` | `_dmarc` | `v=DMARC1; p=quarantine; ...` | 300 | `DMARC` record for email forwarding |
| `TXT` | `_acme-challenge` | `YfcZoPb1JoXtiwUP0k4aimMlw712-NxzrrIsxMAJJtY` | 600 | Let's Encrypt Domain Verification |
| `TXT` | `_acme-challenge` | `duFW0ARxb60Rd6snfskR9b4db08jaoGVrM_dGY-PUcA` | 600 | Let's Encrypt Domain Verification |
| `TXT` | `_github-pages-challenge-noclocks` | `8c88c3f5791a75585aedc0a0e821fb` | 600 | GitHub Domain Verification |
| Type | Host | Value | TTL | Notes |
|:-------:|:----------------------------------:|:---------------------------------------------:|:---:|:---------------------------------------------:|
| `ALIAS` | `@` | `pixie.porkbun.com.` | 60 | `ALIAS` record for root domain |
| `CNAME` | `*` | `pixie.porkbun.com.` | 600 | `CNAME` record for wildcard subdomain |
| `CNAME` | `www` | `noclocks.dev.` | 600 | `CNAME` record for "www" subdomain |
| `CNAME` | `hub` | `39843493.group43.sites.hubspot.net` | 600 | `CNAME` record for HubSpot subdomain |
| `CNAME` | `docs` | `noclocks.github.io.` | 600 | `CNAME` record for GitHub Pages |
| `CNAME` | `blog` | `hashnode.network.` | 600 | `CNAME` record for blog subdomain on Hashnode |
| `CNAME` | `store` | `shops.myshopify.com.` | 600 | `CNAME` record for Shopify store subdomain |
| `CNAME` | `k2._domainkey` | `dkim2.mcsv.net.` | 600 | `CNAME` record for Mailchimp DKIM record |
| `CNAME` | `k3._domainkey` | `dkim3.mcsv.net.` | 600 | `CNAME` record for Mailchimp DKIM record |
| `MX` | `@` | `fwd1.porkbun.com.` | 600 | `MX` record for email forwarding |
| `MX` | `@` | `fwd2.porkbun.com.` | 600 | `MX` record for email forwarding |
| `TXT` | `@` | `v=spf1 include:_spf.porkbun.com ~all` | 300 | `SPF` record for email forwarding |
| `TXT` | `default._domainkey` | `v=DKIM1; k=rsa; ...` | 300 | `DKIM` record for email forwarding |
| `TXT` | `_dmarc` | `v=DMARC1; p=quarantine; ...` | 300 | `DMARC` record for email forwarding |
| `TXT` | `_acme-challenge` | `YfcZoPb1JoXtiwUP0k4aimMlw712-NxzrrIsxMAJJtY` | 600 | Let's Encrypt Domain Verification |
| `TXT` | `_acme-challenge` | `duFW0ARxb60Rd6snfskR9b4db08jaoGVrM_dGY-PUcA` | 600 | Let's Encrypt Domain Verification |
| `TXT` | `_github-pages-challenge-noclocks` | `8c88c3f5791a75585aedc0a0e821fb` | 600 | GitHub Domain Verification |
| `TXT` | `_github-challenge-noclocks-org` | `5b7bfb8c3a` | 600 | GitHub Domain Verification |
| `TXT` | `@` | `google-site-verification=...` | 600 | Google Domain Verification |
| `TXT` | `@` | `amazon-business-verification=...` | 600 | Amazon Domain Verification |

## Name Servers

```bash
curitiba.ns.porkbun.com
fortaleza.ns.porkbun.com
maceio.ns.porkbun.com
salvador.ns.porkbun.com
```

## Useful Commands

Expand Down
43 changes: 23 additions & 20 deletions dnsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,27 @@ var DSP_PORKBUN = NewDnsProvider("porkbun");
var REG_NONE = NewRegistrar("none");

D("noclocks.dev", REG_NONE
, DnsProvider(DSP_PORKBUN)
, ALIAS("@", "lixie.porkbun.com.")
, CNAME("*", "lixie.porkbun.com.")
, CNAME("hub", "39843493.group43.sites.hubspot.net.")
, CNAME("docs", "noclocks.github.io.")
, CNAME("k2._domainkey", "dkim2.mcsv.net.")
, CNAME("k3._domainkey", "dkim3.mcsv.net.")
, CNAME("blog", "hashnode.network.")
, CNAME("store", "shops.myshopify.com.")
, MX("@", 1, "fwd1.porkbun.com.")
, MX("@", 1, "fwd2.porkbun.com.")
, TXT("@", "v=spf1 include:_spf.porkbun.com ~all")
, TXT("_dmarc", "v=DMARC1; p=none;")
, TXT("default._domainkey", "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD23fAyoPbewQ6QAdP6FN30wbbEtWfpSvee3SR1CGqZc3YREGfXwPVi6R5cyR+qwx0DdJUuo5yOlFJ6rXyJUI6PSJ63sq5eNqKU+n6cqLlDaN4VxjS/NmLw+6szGeH52PhfrwRSyI2yMAnSszqvIO8YvN/bieqhIzcQjt8lQtWkJQIDAQAB")
, TXT("_acme-challenge", "YfcZoPb1JoXtiwUP0k4aimMlw712-NxzrrIsxMAJJtY")
, TXT("_acme-challenge", "duFW0ARxb60Rd6snfskR9b4db08jaoGVrM_dGY-PUcA")
, TXT("_github-pages-challenge-noclocks", "8c88c3f5791a75585aedc0a0e821fb")
, TXT("_github-challenge-noclocks-org", "5b7bfb8c3a")
, TXT("@", "google-site-verification=8esyvYnZaJ9-JUcC81RlatPuElBjXcGziiqYiq8FJw8")
, TXT("@", "amazon-business-verification=1229ee0236ee3c28b825288e96e890beaad42a4a461d7a0eb65537601da42912")
, DnsProvider(DSP_PORKBUN)
, DefaultTTL(600)
, ALIAS("@", "lixie.porkbun.com.")
, CNAME("*", "lixie.porkbun.com.")
, CNAME("hub", "39843493.group43.sites.hubspot.net.")
, CNAME("blog", "hashnode.network.")
, CNAME("k2._domainkey", "dkim2.mcsv.net.")
, CNAME("k3._domainkey", "dkim3.mcsv.net.")
, CNAME("docs", "noclocks.github.io.")
, CNAME("store", "shops.myshopify.com.")
, CNAME("pay", "hosted-checkout.stripecdn.com.")
, MX("@", 1, "fwd1.porkbun.com.")
, MX("@", 1, "fwd2.porkbun.com.")
, TXT("@", "v=spf1 include:_spf.porkbun.com ~all")
, TXT("_dmarc", "v=DMARC1; p=quarantine; rua=mailto:25f8c5e6@mxtoolbox.dmarc-report.com; ruf=mailto:25f8c5e6@forensics.dmarc-report.com; fo=1")
, TXT("default._domainkey", "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDf7ZcI9uWzcnk7DmqZbdy5CiVuVY3+v7OsDehtr9wnA97RosQOAbyJGQLn/+VxhLD1XAh4zXYPMF8sdL/+3FTaZlxEMa4WLEuz1DXFoD2nCe0/Y2miw7lZBOIFXmMQalSxCDqmmH3KTk8CLBJU5Q5ypQoQp8rUGnN4wALl24kdSQIDAQAB")
, TXT("_acme-challenge", "YfcZoPb1JoXtiwUP0k4aimMlw712-NxzrrIsxMAJJtY")
, TXT("_acme-challenge", "duFW0ARxb60Rd6snfskR9b4db08jaoGVrM_dGY-PUcA")
, TXT("_github-pages-challenge-noclocks", "8c88c3f5791a75585aedc0a0e821fb")
, TXT("_github-challenge-noclocks-org", "5b7bfb8c3a")
, TXT("@", "google-site-verification=8esyvYnZaJ9-JUcC81RlatPuElBjXcGziiqYiq8FJw8")
, TXT("@", "amazon-business-verification=1229ee0236ee3c28b825288e96e890beaad42a4a461d7a0eb65537601da42912")
, TXT("_acme-challenge.pay", "d9uRKsP6foqYEgijjeBA1MB50wa4KW4NNe1BQE5-EP4")
);
19 changes: 19 additions & 0 deletions reports/2024-03-14-Report.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
noclocks.dev @ 600 IN ALIAS lixie.porkbun.com.
*.noclocks.dev * 600 IN CNAME lixie.porkbun.com.
hub.noclocks.dev hub 600 IN CNAME 39843493.group43.sites.hubspot.net.
blog.noclocks.dev blog 600 IN CNAME hashnode.network.
k2._domainkey.noclocks.dev k2._domainkey 600 IN CNAME dkim2.mcsv.net.
k3._domainkey.noclocks.dev k3._domainkey 600 IN CNAME dkim3.mcsv.net.
docs.noclocks.dev docs 600 IN CNAME noclocks.github.io.
store.noclocks.dev store 600 IN CNAME shops.myshopify.com.
noclocks.dev @ 600 IN MX 1 fwd1.porkbun.com.
noclocks.dev @ 600 IN MX 1 fwd2.porkbun.com.
noclocks.dev @ 300 IN TXT v=spf1 include:_spf.porkbun.com ~all
default._domainkey.noclocks.dev default._domainkey 300 IN TXT v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDf7ZcI9uWzcnk7DmqZbdy5CiVuVY3+v7OsDehtr9wnA97RosQOAbyJGQLn/+VxhLD1XAh4zXYPMF8sdL/+3FTaZlxEMa4WLEuz1DXFoD2nCe0/Y2miw7lZBOIFXmMQalSxCDqmmH3KTk8CLBJU5Q5ypQoQp8rUGnN4wALl24kdSQIDAQAB
_dmarc.noclocks.dev _dmarc 300 IN TXT v=DMARC1; p=quarantine; rua=mailto:25f8c5e6@mxtoolbox.dmarc-report.com; ruf=mailto:25f8c5e6@forensics.dmarc-report.com; fo=1
noclocks.dev @ 600 IN TXT google-site-verification=8esyvYnZaJ9-JUcC81RlatPuElBjXcGziiqYiq8FJw8
noclocks.dev @ 600 IN TXT amazon-business-verification=1229ee0236ee3c28b825288e96e890beaad42a4a461d7a0eb65537601da42912
_github-challenge-noclocks-org.noclocks.dev _github-challenge-noclocks-org 600 IN TXT 5b7bfb8c3a
_acme-challenge.noclocks.dev _acme-challenge 600 IN TXT YfcZoPb1JoXtiwUP0k4aimMlw712-NxzrrIsxMAJJtY
_acme-challenge.noclocks.dev _acme-challenge 600 IN TXT duFW0ARxb60Rd6snfskR9b4db08jaoGVrM_dGY-PUcA
_github-pages-challenge-noclocks.noclocks.dev _github-pages-challenge-noclocks 600 IN TXT 8c88c3f5791a75585aedc0a0e821fb
Loading

0 comments on commit c140fa0

Please sign in to comment.