🕹 Manage Hack Club's DNS through a GitHub repository
Find a file
2023-09-07 21:47:24 -07:00
.github/workflows Revert back to old octoDNS version 2023-05-18 11:44:00 -04:00
bin Initial commit 2018-02-26 14:06:01 -08:00
config Add cpu.land and aisafety.dance 2023-07-24 10:54:34 -04:00
.gitattributes Mark YAML files as Linguist-detectable (#632) 2021-12-17 09:37:59 -08:00
aisafety.dance.yaml Add cpu.land and aisafety.dance 2023-07-24 10:54:34 -04:00
bank.engineering.yaml Add custom domain for Bank's G Verify service (#761) 2022-10-05 12:01:05 -07:00
bulckcah.com.yaml proxy.servers.hackclub.com -> proxyparty.hackclub.com 2021-11-23 16:16:19 -05:00
cpu.land.yaml Add cpu.land and aisafety.dance 2023-07-24 10:54:34 -04:00
dino.icu.yaml remove aiden.dino.icu (#938) 2023-08-08 23:38:30 +00:00
dinosaurbbq.org.yaml Update CNAME for wwww (#654) 2022-02-06 00:31:27 -08:00
hack.af.yaml Add 1pass domain breach report to hack.af (#926) 2023-07-12 16:52:54 +00:00
hackclub.app.yaml Add new server to hackclub.app (#893) 2023-05-15 11:01:23 -04:00
hackclub.com.yaml add ALIAS 2023-09-07 21:43:56 -07:00
hackclub.dev.md Document hackclub.dev! 2023-01-18 16:07:56 -05:00
hackclub.io.yaml Add proxytest.hackclub.io 2023-08-31 15:07:45 -04:00
hackclub.org.yaml proxy.servers.hackclub.com -> proxyparty.hackclub.com 2021-11-23 16:16:19 -05:00
hackedu.us.yaml proxy.servers.hackclub.com -> proxyparty.hackclub.com 2021-11-23 16:16:19 -05:00
hackfoundation.org.yaml Add the.hackfoundation.org 2021-09-30 13:32:55 -04:00
README.md Document Workspace / Vercel Quirk 2023-09-07 21:47:24 -07:00
scrap.dev.yaml Use ALIAS for root domain 2023-02-23 11:07:48 -05:00
scrapbook.dev.yaml Use ALIAS for root domain 2023-02-23 11:07:33 -05:00
wackclub.com.yaml wackclub (#690) 2022-05-08 19:13:57 -04:00

Hack Club's DNS

test deploy

This repository is used for managing Hack Club's DNS configuration through OctoDNS. Please see its documentation for more information.

Adding a subdomain

  1. Create a fork of this repository.
  2. In your fork open the hackclub.com.yaml file and add the following alphabetically based off the subdomain name:
SUBDOMAIN_NAME:
  - ttl: 1
    type: CNAME
    value: SOURCE_DOMAIN_OR_IP.
  1. Replace SUBDOMAIN_NAME with the name of the sub-domain. So if the name was hello then the subdomain would be hello.hackclub.com.
  2. Replace SOURCE_DOMAIN_OR_IP with the domain or IP address of the website you want the subdomain to go. If you are using an IP address change type: CNAME to type: A. Remember to leave that . at the end!
  3. Commit your changes and create the PR!

That's it! Someone with contributor access to the repo will then review your PR.

Google Workspace / Vercel Combination

If you're looking to use both Google Workspace and Vercel, deploying your changes may break. To fix this, follow these steps (each in a seperate step, irvine.hackclub.com is an example of this process):

  1. Delete all records associated to your subdomain.
  2. Add the records needed for Google Workspace to your subdomain.
  3. Add the remaining records you'd like for your subdomain. Instead of a CNAME, use ALIAS.

Limitations

Subdomains, under domains following the format hackclub.xxx(or other domains reffering to hackclub), are only available for clubs and projects related to Hack Club, this does not include HCB projects. Everyone is welcome to use dino.icu!

When adding a site hosted on ▲ Vercel, you will need to verifiy the domain by adding a TXT record.

image

Add the value to the hackclub.com.yaml file as shown below:

_vercel:
  ttl: 1
  type: TXT
  values:
    - vc-domain-verify=wackclub.hackclub.com,423c28e0fbdd51449cf1