🕹 Manage Hack Club's DNS through a GitHub repository
Find a file
Hyun(Kenneth) Sim d60a4c87d6
Add ko.hackclub.com (#1082)
Co-authored-by: Reese Armstrong <me@reeseric.ci>
2024-04-08 09:46:23 -05:00
.github Adding pull request template (#1107) 2024-03-18 09:00:33 -05:00
bin Let's not always force DNS 2023-09-10 12:50:54 -07:00
config Adding hack.club - or at least attempting to (#1071) 2024-02-13 13:59:24 -05: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 Update bank.engineering.yaml (#1091) 2024-02-22 03:26:22 +00: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 Adding spend.dino.icu (#1121) 2024-04-02 07:33:20 -05:00
dinosaurbbq.org.yaml Add aux.dinosaurbbq.org (#1100) 2024-03-02 21:23:44 -06:00
hack.af.yaml Add subdomain for summit ticketing (st.hack.af/[ticket number]) (#1046) 2024-01-12 19:26:23 -08:00
hack.club.yaml hack.club.hack.club (#1073) 2024-02-13 12:02:38 -08:00
hackclub.app.yaml Add AAAA IPv6 records to hackclub.app (#1101) 2024-03-03 20:47:26 -06:00
hackclub.com.yaml Add ko.hackclub.com (#1082) 2024-04-08 09:46:23 -05: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 Set correct DKIM key 2024-02-20 10:53:04 -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
nonprofit.new.yaml Add nonprofit.new 2024-01-09 13:16:26 -05:00
README.md Update README with recommended TTL of 600s (#1096) 2024-02-28 12:45:57 -06: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: 600
    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: 600
  type: TXT
  values:
    - vc-domain-verify=wackclub.hackclub.com,423c28e0fbdd51449cf1