aboutsummaryrefslogtreecommitdiff
path: root/tools/dnsupdate/ts.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-25ref(dnsupdate): move under toolsFranck Cuny1-0/+0
Integrate properly the tool `dnsupdate` with flake.nix, by adding a default.nix inside its directory. Having all the tools under a directory named `tools` is easier to reason about. I don't need a go.mod at the top level directory either, each tool will have its own.
2022-05-07cmd: add a command to update fcuny.xyzFranck Cuny1-0/+89
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.