From 941c8bf4ce49ff0f6d2e31c156b5652ac9c2a9ef Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 14:53:17 -0800 Subject: [PATCH 01/11] Remove unnecessary ALIAS --- hackclub.com.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/hackclub.com.yaml b/hackclub.com.yaml index d987ddd..4c46d26 100644 --- a/hackclub.com.yaml +++ b/hackclub.com.yaml @@ -19,7 +19,6 @@ - ttl: 1 type: TXT values: - - ALIAS for hackclub.com.herokudns.com - google-site-verification=U8tZZVtnG2hU2CIde1FeMzGJM7d9yYUfuCKYwWVYeGo - google-site-verification=haP-NAN6fjhxiSxwB7HeLmeHnUI7MsXARShhPBKSn6A - google-site-verification=pheoxaglA5iew_VN0RUE-eWf6lL9FlqC0vROqUGlhiA From 6ff96e4619d0ecdd48860ceb3b35e8a3052dd5bb Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 14:59:30 -0800 Subject: [PATCH 02/11] Convert root entry to an ALIAS --- hackclub.com.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hackclub.com.yaml b/hackclub.com.yaml index 4c46d26..3f668ab 100644 --- a/hackclub.com.yaml +++ b/hackclub.com.yaml @@ -1,8 +1,8 @@ --- ? '' : - ttl: 1 - type: A - value: 104.198.15.73 + type: ALIAS + value: hackclub.netlify.com - ttl: 1 type: MX values: From 1e164de05573ef9c524d5311c0597f6fb00d617e Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:00:20 -0800 Subject: [PATCH 03/11] Clarify usage of * DNS --- hackclub.com.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hackclub.com.yaml b/hackclub.com.yaml index 3f668ab..cab159c 100644 --- a/hackclub.com.yaml +++ b/hackclub.com.yaml @@ -23,7 +23,7 @@ - google-site-verification=haP-NAN6fjhxiSxwB7HeLmeHnUI7MsXARShhPBKSn6A - google-site-verification=pheoxaglA5iew_VN0RUE-eWf6lL9FlqC0vROqUGlhiA - v=spf1 include:servers.mcsv.net ?all -'*': +'*': # catch-all ttl: 1 type: CNAME value: proxy.servers.hackclub.com. From 425c5f6d8dda3b55f5cea1733ad01b916866888e Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:02:04 -0800 Subject: [PATCH 04/11] Remove extra proxy.servers.hackclub.com entries --- hackclub.com.yaml | 120 ---------------------------------------------- 1 file changed, 120 deletions(-) diff --git a/hackclub.com.yaml b/hackclub.com.yaml index cab159c..c694272 100644 --- a/hackclub.com.yaml +++ b/hackclub.com.yaml @@ -55,50 +55,10 @@ app: ttl: 1 type: CNAME value: hackclub.netlify.com. -blog: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -board: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. calendar: ttl: 1 type: CNAME value: ghs.googlehosted.com. -camp: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -camp-sheet: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -chicagohacks: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -clubs: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -conduct: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -demo-night: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -design: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -donate: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. drive: ttl: 1 type: CNAME @@ -115,22 +75,6 @@ eomail: ttl: 1 type: CNAME value: custom.eomail2.com. -feedback: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -feedback-redir: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -finder: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -free-tech-domain: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. geochat: ttl: 1 type: CNAME @@ -139,10 +83,6 @@ geochat-api: ttl: 1 type: CNAME value: geochat-api.hackclub.com.herokudns.com. -gh: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. google._domainkey: ttl: 1 type: TXT @@ -153,26 +93,6 @@ groups: ttl: 1 type: CNAME value: ghs.googlehosted.com. -guide: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -hack-camp-playbook: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -idyllwild: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -india: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -irc: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. k1._domainkey: ttl: 1 type: CNAME @@ -204,14 +124,6 @@ merivalja: ttl: 1 type: CNAME value: merivalja.github.io. -orbit: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -partytime: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. pic._domainkey.mail: ttl: 1 type: TXT @@ -220,34 +132,10 @@ proxy.servers: ttl: 1 type: A value: 138.197.54.69 -proxyparty: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. q6vh4lhupwotqenjf4s4ygzyhir3e5ii._domainkey: ttl: 1 type: CNAME value: q6vh4lhupwotqenjf4s4ygzyhir3e5ii.dkim.amazonses.com. -series: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -shipit: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -slack: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -subscribe: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -test: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. testing.mail: - ttl: 1 type: MX @@ -259,11 +147,3 @@ testing.mail: - ttl: 1 type: TXT value: v=spf1 include:mailgun.org ~all -workshops: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. -www: - ttl: 1 - type: CNAME - value: proxy.servers.hackclub.com. From f0a37fc85038cdee5253a1ada4b968f9725277f7 Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:02:35 -0800 Subject: [PATCH 05/11] Add trailing period --- hackclub.com.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hackclub.com.yaml b/hackclub.com.yaml index c694272..a80ae28 100644 --- a/hackclub.com.yaml +++ b/hackclub.com.yaml @@ -2,7 +2,7 @@ ? '' : - ttl: 1 type: ALIAS - value: hackclub.netlify.com + value: hackclub.netlify.com. - ttl: 1 type: MX values: From 8b7801a763af520c44032c1468887839edf17bb8 Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:19:28 -0800 Subject: [PATCH 06/11] Switch back to an A record --- hackclub.com.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hackclub.com.yaml b/hackclub.com.yaml index a80ae28..5e96158 100644 --- a/hackclub.com.yaml +++ b/hackclub.com.yaml @@ -1,8 +1,8 @@ --- ? '' : - ttl: 1 - type: ALIAS - value: hackclub.netlify.com. + type: A + value: 104.198.15.73 - ttl: 1 type: MX values: From ab09a5094c798fc5baee29ec9d23d84d52bc7678 Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:27:36 -0800 Subject: [PATCH 07/11] Add the TXT ALIAS back --- hackclub.com.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/hackclub.com.yaml b/hackclub.com.yaml index 5e96158..a5a57f3 100644 --- a/hackclub.com.yaml +++ b/hackclub.com.yaml @@ -19,6 +19,7 @@ - ttl: 1 type: TXT values: + - ALIAS for hackclub.com.herokudns.com - google-site-verification=U8tZZVtnG2hU2CIde1FeMzGJM7d9yYUfuCKYwWVYeGo - google-site-verification=haP-NAN6fjhxiSxwB7HeLmeHnUI7MsXARShhPBKSn6A - google-site-verification=pheoxaglA5iew_VN0RUE-eWf6lL9FlqC0vROqUGlhiA From 2ea5c4d893f00b076fa512fc4dd4ab0a20743dfb Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:31:55 -0800 Subject: [PATCH 08/11] Create README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed4fcaf --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Hack Club's DNS + +This repository is used for managing Hack Club's DNS configuration. We use [OctoDNS](https://github.com/github/octodns), please see its documentation for more information. From 3076694664969f040688fab4bb39ec858f13898b Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:32:58 -0800 Subject: [PATCH 09/11] Rename build step to dry-run --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2b38836..f11c554 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2 jobs: - build: + dry-run: docker: - image: python:2.7 steps: @@ -25,9 +25,9 @@ jobs: workflows: version: 2 - build-and-deploy: + dry-run-and-deploy: jobs: - - build + - dry-run - deploy: requires: - build From 0b1a12c7058051431d9c9b594e95ae51ba2d5e84 Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:35:31 -0800 Subject: [PATCH 10/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f11c554..b29e013 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ workflows: - dry-run - deploy: requires: - - build + - dry-run filters: branches: only: master From 1214c03662182520748c6d94b516d0f9a1e52b6a Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 26 Feb 2018 15:36:35 -0800 Subject: [PATCH 11/11] Use Cloudflare for hackclub.com --- config/production.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/production.yaml b/config/production.yaml index ffd85e6..c65355a 100644 --- a/config/production.yaml +++ b/config/production.yaml @@ -18,4 +18,3 @@ zones: - config targets: - cloudflare - - dnsimple