about summary refs log tree commit diff
path: root/cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cmd: add a command to update fcuny.xyzFranck Cuny2022-05-072-0/+214
I'm using fcuny.xyz as a domain to run a number of services on a host using the IP provided by Tailscale. Instead of manually updating the DNS configuration in the console every time I create a new subdomain, let's do this with a small program. The program query Tailscale API to get the IP address of the host `tahoe`, and then query the DNS API to see if anything is missing or is mis-configured. If it's the case, it will resolve the problems.