g0v-network / domains Goto Github PK
View Code? Open in Web Editor NEWTo manage domains and subdomain DNS records for g0v-related domains (and friends)
Home Page: https://github.com/g0v-network/domains/blob/main/README.md
To manage domains and subdomain DNS records for g0v-related domains (and friends)
Home Page: https://github.com/g0v-network/domains/blob/main/README.md
re-ticketed from: #52
This isn't well-documented in OctoDNS, but there's an redirect pseudo-type (not a real DNS record type) specifically for cloudflare. We should mention that there are only 3 rules available for free. And that redirecting "www" as well will consume a rule.
Re-ticketed from #11
Just a sanity check before merge, to ensure that someone has already updated the cloudflare token to be able to work with the new domain.
Right now, in the HOWTO.md doc, we have some expandable config examples:
https://github.com/g0v-network/domains/blob/main/docs/HOWTO.md#examples
Right now, these look like this (using the diff formatter):
It's nice, because one diff can show changes in multiple files in the repo.
But as you can see in the above screenshot, highlighting also includes the +
and -
context lines.
It would be nice if there was a quicker, easier way to create a new PR. This could involve one or both of:
Creating a hyperlink that initiates a stub PR and scaffolds out a new file, like Hypha does in the right-hand column of their meeting note directory.
Use GitHub flavoured markdown to make the diffs more selectable using GitHub's permalink embed style. This is commonly used in pull requests and issues, but also works in any markdown docs within the repo. Example: https://github.com/patcon/test-github-markdown/
domains/c4nada.ca.domain/c4nada.ca.yaml
Lines 1 to 10 in 1601c05
cc: Sam @therealitycorp
Re-ticketed from #14
Example: surpassing thresholds as above.
Not for checking the whole config file, but just checking format of our metadata
key, which is being used to keep track of:
Could also use the linter to check for has admin control of the domain. I'm currently storing this in a TXT entry at the root level of each domain, as admin=foo
.
https://github.com/23andMe/Yamale
https://github.com/nrkno/yaml-schema-validator-github-action
Just realized this was a feature of the github action. Neat!
Right now, the "test" comment shows what the change will be. But in order to confirm that the merged PR successfull updates the DNS, someone needs to know to hop into the "Actions" tab of the repo:
This would be better if there was a hint after merge. A simplest possible MVP is to just leave a comment with a link to the Actions listing page after merge: https://github.com/g0v-network/domains/actions/workflows/domain-sync.yml
Specifically, this is the clearest one: #11
Re-ticketed from #11
GitHub issue template docs: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
This would make it a bit more clear. Essentially copying from docs/HOWTO.md
Related: solvaholic/octodns-sync#50
plan and sync no longer works. going to wait a few days to decide the best path forward, but for now will put a warning in README.
Pretend that I want to quickly suggest to someone that they could "fork" https://competitionbureau.gc.ca/ or https://space.canada.ca to a g0v domain managed via this repo.
I could tweet them:
But all of that is confusing and hard to fit in a tweet.
It would maybe be neat if I could instead just link the person to any not-yet-created g0v subdomain http://competitionbureau.g0v.ca, and have a simple splash page explain all of this :)
To do this, could set up a small app to sit behind a wildcard DNS record, and "catch" any subdomains that haven't had a record specifically created. In theory, this could walk people through all of:
Thoughts? Could this be helpful for other g0v nobodies?
Re-ticketed from @ThenWho hitting windows speedbump
This can be fixed like so: octodns/octodns#665 (comment)
Re-ticketed from ronnywang/301-service#2 (comment)
Hey @systemantix @clementbriens @edsaperia, going to stub out what it would take to manage newspeak.link
via this repo, in case you're open to it. Worst case scenario, this was a good chance to better-document the process ๐
Full documentartion of steps [in theory] are detailed here: https://github.com/g0v-network/domains/blob/main/docs/HOWTO.md#domains
(Pull requests with doc improvements very welcome.)
Role Legend
๐ g0v-network/domains
repo maintainer must do this, aka @patcon
๐ช PR submitter (or anyone) can do this, but likely either you or me
๐ domain owner must do this, aka clement
newspeak.link
domain to Cloudflare account (status will be "pending transfer") [screenshot]newspeak.link.domain/newspeak.link.yaml
, [see branch]newspeak.link.domain/newspeak.link.yaml
, [see branch]newspeak.link
to config.yaml
[see branch]clyde.ns.cloudflare.com
tina.ns.cloudflare.com
host -t ns newspeak.link
g0v-network/domains
to newspeak.link
domain owner (though future expectation is to work via PRs like this)clementbriens/newspeak-shortlink
how the domain is managed.I am curious whether the config files for both of these could be merged into something like ALL.talent.c4nada.ca.yaml
:
talent.c4nada.ca.yaml
go.talent.c4nada.ca.yaml
https://github.com/g0v-network/domains/tree/main/c4nada.ca.domain
This would allow all the config to exist at one url, accessible at some shortlink like https://go.talent.c4nada.ca/dns
Also, ownership/maintainership metadata could be assumed as encompassing all child DNS records. (instead of repeating for each sub-node)
Just need to test it out.
Re-ticketed from: #33 (comment)
It seems that the test workflow is being run against the feature branch rather than against the merge commit of feature+mainline.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.