about summary refs log tree commit diff
path: root/cmd/dnsupdate (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ref(dnsupdate): move under toolsFranck Cuny2022-05-253-222/+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.
* feat(dns): add cs.fcuny.xyzFranck Cuny2022-05-221-0/+1
| | | | This will be used for sourcegraph.
* docs: some documentationFranck Cuny2022-05-071-0/+7
|
* 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.