From c06d0f4e79edfe0a5ec650b2d2a8c1a441ed3226 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 12 Mar 2023 18:23:05 -0700 Subject: a CLI to update records for fcuny.xyz I want a simple solution to update the records for fcuny.xyz. The host that serves these records is a tailscale node, so I want to also query tailscale to get the IP for that host instead of hard coding the value. Some other information are hard coded, like the name of the project in GCP, etc. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..4404f41 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +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 [console](https://console.cloud.google.com/net-services/dns/zones/fcuny-xyz/details?project=fcuny-homelab), I can now run this program. + +# Run + +To update the records, run `nix run .`. + -- cgit v1.2.3