Documentation
¶
Overview ¶
Command zonegitd is the authoritative DNS responder backed by a zonegit repository.
Scope:
- UDP + TCP listener
- One zone per process (--zone, auto-loaded from the repo if persisted)
- Serves the HEAD of --branch by default
- --at <refish> pins serving to a historical commit (time-travel)
- --canary <branch>:<pct> splits traffic between --branch and a canary
- Responds to AXFR with the full zone
- Optional /metrics endpoint
Hot reload: the daemon does NOT reopen Badger per query. A background poller (pkg/resolve.PollingSnapshotter) reopens the read-only handle only when a watched branch's tip hash changes. Per-query cost is one atomic pointer load.
Click to show internal directories.
Click to hide internal directories.