This repository is used for managing the Wentworth Coding Club's DNS configuration through OctoDNS. OctoDNS enables version-controlled, automated DNS management with validation and testing before changes go live.
- witcc.dev - Primary club domain
- hackwit.org - For HackWIT Hackathon
Create a fork of this repository to your GitHub account.
Open either witcc.dev.yaml or hackwit.org.yaml depending on which domain you want to add a subdomain to.
Add the following entry alphabetically based on the subdomain name:
SUBDOMAIN_NAME: # [email protected]
- ttl: 600
type: CNAME
value: SOURCE_DOMAIN_OR_IP.- SUBDOMAIN_NAME: Replace with your desired subdomain name
- Example:
hellowould createhello.witcc.dev
- Example:
- SOURCE_DOMAIN_OR_IP: Replace with the target domain or IP address
- For domains: Use
CNAMEand include the trailing.- Example:
example.com.
- Example:
- For IP addresses: Change
type: CNAMEtotype: Aand remove the trailing.- Example:
192.0.2.1
- Example:
- For domains: Use
- Contact info: Add your wit email in a comment above your entry. This way we know who is responsible for the subdomain. If you're making the PR but it makes more sense for someone else to "own" the subdomain, you can add their email there instead. Feel free to list multiple people.
myproject: # [email protected]
- ttl: 600
type: CNAME
value: myproject.vercel.app.server: # [email protected]
- ttl: 600
type: A
value: 192.0.2.1docs: # [email protected], [email protected], [email protected]
- ttl: 600
type: CNAME
value: docs-site.netlify.app.
- ttl: 600
type: TXT
value: "verification-token-here"- Commit your changes to your fork
- Create a pull request back to the main repository
- Wait for a maintainer to review your PR
Note: If changes are requested, update your existing PR by committing to your fork rather than closing and creating a new one.
| Type | Usage | Example |
|---|---|---|
| A | Points to an IPv4 address | value: 192.0.2.1 |
| AAAA | Points to an IPv6 address | value: 2001:0db8::1 |
| CNAME | Points to another domain | value: example.com. |
| TXT | Text records (verification, SPF, etc.) | value: "verification-string" |
| MX | Mail server records | See email configuration |
If you want to validate your changes before submitting a PR:
# Install Python 3 and pip
# Install OctoDNS and the Cloudflare provider
pip install 'octodns>=1.5.0' octodns-cloudflare# Run a dry-run to check for errors
./bin/dry-runThis will validate your YAML syntax and check for DNS configuration errors without making any actual changes.
- Configuration: DNS records are defined in YAML files (witcc.dev.yaml, hackwit.org.yaml)
- Validation: GitHub Actions automatically validates changes on every PR
- Review: A maintainer reviews and approves your changes
- Deployment: Upon merge to main, changes are automatically deployed to Cloudflare
- Propagation: DNS changes typically propagate within minutes but can take up to 24 hours
Subdomains are available for:
- Official Wentworth Coding Club projects
- Club-affiliated events and initiatives
For questions about eligibility, reach out to a club E-Board member on discord.
- Check the OctoDNS documentation
- Open an issue in this repository
- Ask in the club's Discord
- Contact a repository maintainer (primarilly @jaspermayone)
We welcome contributions! Please:
- Follow the existing format and alphabetical ordering
- Include your contact information in comments
- Provide a clear description in your PR
- Be responsive to review feedback