-
Notifications
You must be signed in to change notification settings - Fork 499
feat: migrate hackclub.com DNS from DNSimple to Cloudflare #2009
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d5bf0e6
ac3215a
84ebf67
1d87cc3
98b26a2
326d353
5557cb0
41783e1
a500993
239dcb0
8e01d0c
5436e3e
629114e
5c331b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,10 @@ jobs: | |
with: | ||
python-version: '3' | ||
- name: Install OctoDNS | ||
run: pip install 'octodns==0.9.10' | ||
run: pip install 'octodns>=1.5.0' octodns-cloudflare octodns-dnsimple | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't specifying the latest octoDNS version, why? The latest is 1.13.0. Additionally this doesn't use dependency pinning (recommended by octodns) meaning there could be breaking changes in an upgrade later causing the workflow to fail. |
||
- name: Do a dry run | ||
run: ./bin/dry-run | ||
env: | ||
DNSIMPLE_ACCOUNT_NUMBER: ${{ secrets.DNSIMPLE_ACCOUNT_NUMBER }} | ||
DNSIMPLE_API_KEY: ${{ secrets.DNSIMPLE_API_KEY }} | ||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.env |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,7 +187,8 @@ dast: # by https://github.com/danielsebesta | |
value: 194.163.149.155 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This whole file should not have been changed. |
||
|
||
dev-email: | ||
- type: MX | ||
- ttl: 600 | ||
type: MX | ||
values: | ||
- exchange: mx1.improvmx.com. | ||
preference: 10 | ||
|
@@ -289,13 +290,16 @@ heramb: | |
value: cname.vercel-dns.com. | ||
|
||
hi: # doruk.dino.icu email address | ||
- type: TXT | ||
- ttl: 600 | ||
type: TXT | ||
value: apple-domain=rkbobCmChEtkhbTS. | ||
hk: | ||
- type: CNAME | ||
- ttl: 600 | ||
type: CNAME | ||
value: vic.hackclub.app. | ||
hkgi: | ||
- type: CNAME | ||
- ttl: 600 | ||
type: CNAME | ||
value: garden.devcara.com. | ||
|
||
icons: # yoda - https://github.com/yodalightsabr/icons-dino-icu - a CDN for @hackclub/icons | ||
|
@@ -444,27 +448,6 @@ overflow: | |
type: CNAME | ||
value: overflow.craigg.hackclub.app. | ||
|
||
parker: # parker.dino.icu; reserved by hack club bank | ||
- type: ALIAS | ||
value: cname.vercel-dns.com. | ||
- ttl: 600 | ||
type: MX | ||
values: | ||
- exchange: aspmx.l.google.com. | ||
preference: 1 | ||
- exchange: alt1.aspmx.l.google.com. | ||
preference: 5 | ||
- exchange: alt2.aspmx.l.google.com. | ||
preference: 5 | ||
- exchange: alt3.aspmx.l.google.com. | ||
preference: 10 | ||
- exchange: alt4.aspmx.l.google.com. | ||
preference: 10 | ||
- ttl: 5 | ||
type: TXT | ||
values: | ||
- google-site-verification=XqT81Vm5K6PUs4sy90BWKQMEVPaIDAXxBPI_n773h-A | ||
- v=spf1 include:_spf.google.com ~all | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. broken, was breaking build, no longer used per ella's message on slack: https://hackclub.slack.com/archives/C026RKHLPNJ/p1686773786994209 |
||
|
||
pay: # by Ella | ||
ttl: 600 | ||
|
@@ -586,27 +569,7 @@ spend: | |
type: A | ||
value: 76.76.21.21 | ||
|
||
spider: # spider.dino.icu; reserved by hack club bank | ||
- type: ALIAS | ||
value: cname.vercel-dns.com. | ||
- ttl: 600 | ||
type: MX | ||
values: | ||
- exchange: aspmx.l.google.com. | ||
preference: 1 | ||
- exchange: alt1.aspmx.l.google.com. | ||
preference: 5 | ||
- exchange: alt2.aspmx.l.google.com. | ||
preference: 5 | ||
- exchange: alt3.aspmx.l.google.com. | ||
preference: 10 | ||
- exchange: alt4.aspmx.l.google.com. | ||
preference: 10 | ||
- ttl: 5 | ||
type: TXT | ||
values: | ||
- google-site-verification=i1xM1TEj6jJSVo8p9s8oGmSZW2Wo2MIyxhyb007OAuA | ||
- v=spf1 include:_spf.google.com ~all | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. broken, was breaking build, no longer used per ella's message on slack: https://hackclub.slack.com/archives/C026RKHLPNJ/p1686773786994209 |
||
|
||
|
||
social: | ||
ttl: 600 | ||
|
@@ -670,7 +633,7 @@ vansh: | |
|
||
vercel: | ||
- ttl: 600 | ||
type: ALIAS | ||
type: CNAME | ||
value: cname.vercel-dns.com. | ||
|
||
vercel-a: | ||
|
@@ -680,7 +643,7 @@ vercel-a: | |
|
||
vercel-alias: | ||
ttl: 600 | ||
type: ALIAS | ||
type: CNAME | ||
value: cname.vercel-dns.com. | ||
|
||
vercel-cname: | ||
|
@@ -742,20 +705,8 @@ www: # redirect to bare domain | |
type: CNAME | ||
value: cname.vercel-dns.com. | ||
|
||
xn--c1h: | ||
- ttl: 600 | ||
type: ALIAS | ||
value: cname.vercel-dns.com. | ||
|
||
xn--ct9h: | ||
type: CNAME | ||
value: b616c4f2-bfad-4b67-9c6d-ee6afc35cc0b.id.repl.co. | ||
|
||
xn--rl8h: | ||
type: CNAME | ||
value: maxwofford.github.io. | ||
|
||
Comment on lines
-745
to
-757
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, why were these subdomains of dino.icu deleted? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. none of these seem used anymore, new versions of octodns no longer support emoji in dns There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. was breaking build on new version of octodns |
||
yc: | ||
ttl: 600 | ||
type: NS | ||
value: ns.youngchief.xyz. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't specifying the latest octoDNS version, why? The latest is 1.13.0. Additionally this doesn't use dependency pinning (recommended by octodns) meaning there could be breaking changes in an upgrade later causing the workflow to fail.