Skip to content
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

Add civictech.ca as managed domain #9

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

patcon
Copy link
Member

@patcon patcon commented Mar 1, 2021

Putting this together as a proposal for Civic Tech Toronto hacknight organizers (with heads-up to Code for Canada).

This PR involves copying out DNS records from EasyDNS (where they were managed by logging in with privileged credentials; see screenshot below), to Cloudflare (where they will be managed via pull requests to this repo).

This also involved migrating some "mailmaps" (aka email forwarders) from EasyDNS (see screenshot below) to forwardemail.net, which can also be managed from this repo.

This also retires a small and obscure redirector app that was being used to forward urls like calgary.civictech.ca => https://www.meetup.com/CivicTechYYC-Tech-for-Good/ . Instead of using that app for redirects (with its own non-obvious config file), this PR relies on a better redirector app created by @ronnywang of @g0v, which allows all the redirect information to live in the DNS records themselves, instead of a separate config file.

Risks: loss of user-friendly EasyDNS UI. technical barrier of using GitHub and/or YAML. will eventually override any changes made in Cloudflare UI. patcon is bottleneck if it breaks.

Benefits: theoretically DNS records more visible/accessible to community members. easier to discuss requests. can be annotated with metadata like point of contact and code repository. know who added/changed things via git history. redirect config stored in one place, not two.

Screenshots

Prior: EasyDNS records

Screen Shot 2021-02-28 at 9 08 16 PM

Prior: EasyDNS Mailmaps

Screen Shot 2021-02-28 at 9 07 39 PM

Steps to complete

See HOWTO doc for details: https://github.com/g0v-network/domains/blob/main/docs/HOWTO.md#add-a-new-domain

  • add civictech.ca placeholder to g0v cloudflare account
  • ensure API key can manage new civictech.ca domain
  • merge this PR
  • point easydns nameservers to use cloudflare nameservers: clyde.ns.cloudflare.com & tina.ns.cloudflare.com
    • log into EasyDNS, and click "Domains" then "nameservers" for civictech.ca domain
  • test that changes take affect (see doc above)

@patcon patcon self-assigned this Mar 1, 2021
@patcon patcon force-pushed the add-civictech-ca branch 2 times, most recently from 830abd6 to 64023b1 Compare March 1, 2021 03:46
@github-actions
Copy link

github-actions bot commented Mar 1, 2021

OctoDNS Plan for d52971a

civictech.ca.

cloudflare

Operation Name Type TTL Value Source
Create Zone
Create A 120 143.95.38.159 config-files
Create MX 120 '10 mx1.forwardemail.net.'
'10 mx2.forwardemail.net.'
config-files
Create TXT 120 admin=civictechto
forward-email=codeacross:codeacross-toronto@googlegroups.com
forward-email=eventscalendar:patrick.c.connolly@gmail.com
forward-email=hi:civictechtoronto@gmail.com
forward-email=hi:s2e1k1m0q5f0v3v6@civictechto.slack.com
forward-email=organizers:civictechto-organizers@googlegroups.com
forward-email=saintjohn:patrick.c.connolly@gmail.com
forward-email=speakers:civictechto-speakers@googlegroups.com
forward-email=sponsorship:gabe@pwd.ca
forward-email=toby:k2s3r7l0b4y6f2x7@civictechto.slack.com
forward-email=venues:civictechto-venues@googlegroups.com
config-files
Create calgary CNAME 120 301.ronny.tw. config-files
Create calgary TXT 120 301 https://www.meetup.com/CivicTechYYC-Tech-for-Good/ config-files
Create edmonton CNAME 120 301.ronny.tw. config-files
Create edmonton TXT 120 301 https://betacity.ca/ config-files
Create fredericton CNAME 120 301.ronny.tw. config-files
Create fredericton TXT 120 301 https://www.civictechfredericton.com/ config-files
Create link CNAME 120 rebrandlydomain.com. config-files
Create london CNAME 120 301.ronny.tw. config-files
Create london TXT 120 301 http://civictechlondon.ca/ config-files
Create ottawa CNAME 120 301.ronny.tw. config-files
Create ottawa TXT 120 301 https://ottawacivictech.ca/ config-files
Create slack CNAME 120 angular-temple-fx0lms4uzdcimvebrq3wtzg9.herokudns.com. config-files
Create toolkit CNAME 120 encircled-perch-g73rg7yj4r18vg7e6r1xux3z.herokudns.com. config-files
Create toronto CNAME 120 301.ronny.tw. config-files
Create toronto TXT 120 301 https://civictech.ca config-files
Create vancouver CNAME 120 301.ronny.tw. config-files
Create vancouver TXT 120 301 https://www.meetup.com/Civic-Tech-Vancouver/ config-files
Create waterloo CNAME 120 301.ronny.tw. config-files
Create waterloo TXT 120 301 https://civictechwr.org/ config-files
Create wr CNAME 120 301.ronny.tw. config-files
Create wr TXT 120 301 https://civictechwr.org/ config-files
Create www CNAME 120 301.ronny.tw. config-files
Create www TXT 120 301 https://civictech.ca config-files
Create yeg CNAME 120 301.ronny.tw. config-files
Create yeg TXT 120 301 https://betacity.ca/ config-files
Create yow CNAME 120 301.ronny.tw. config-files
Create yow TXT 120 301 https://ottawacivictech.ca/ config-files
Create yvr CNAME 120 301.ronny.tw. config-files
Create yvr TXT 120 301 https://www.meetup.com/Civic-Tech-Vancouver/ config-files
Create yyc CNAME 120 301.ronny.tw. config-files
Create yyc TXT 120 301 https://www.meetup.com/CivicTechYYC-Tech-for-Good/ config-files
Summary: Creates=34, Updates=0, Deletes=0, Existing Records=0
Automatically generated by octodns-sync

@patcon patcon marked this pull request as draft March 1, 2021 04:29
@patcon patcon changed the title [WIP] Add civictech.ca as managed domain Add civictech.ca as managed domain Mar 1, 2021
@patcon patcon marked this pull request as ready for review March 15, 2021 05:26
@patcon
Copy link
Member Author

patcon commented Mar 15, 2021

ok, this is fixed and just waiting on conversation with CTTO organizers

@@ -11,6 +11,7 @@ The following damains can be managed here:
- `c4nada.ca`
- `t0ronto.ca`
- `g0teborg.se`
- `civictech.ca` (pending)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `civictech.ca` (pending)
- `civictech.ca`

@patcon patcon marked this pull request as draft February 10, 2022 15:16
@patcon
Copy link
Member Author

patcon commented Feb 10, 2022

Converted to draft until I have bandwidth to push this forward again with co-organizers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant