blob: 2e7ca0164f240ba8ce27ba9750b79bd0c6e10d18 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#+TITLE: dnsupdate
Utility to update the managed zone for =fcuny.xyz= in Google Cloud DNS.
I use the domain =fcuny.xyz= to run a number of services on an IP provided by Tailscale. I don't want these domains to be visible on the web, but I also want to have a valid HTTPS certificate for them. By having a proper DNS I can use ACME to get the certificates, without making them available.
Instead of updating the subdomains through the [[https://console.cloud.google.com/net-services/dns/zones/fcuny-xyz/details?project=fcuny-homelab][console]], I can now run this program.
* Run
To update the records, run =nix run .#tools.dnsupdate.push=.
|