1 parent
de13d851a8
commit
a28362b82c
34 files changed
+1541
-341
No files matched your search
@@ -10,8 +10,11 @@ A standalone, self-contained Go administration panel for the EasyDNS Rust DNS se
|
||||
- DNS lookup, upstreams, policies, read-only views/ACL/rate limits, blocklists, cache, sampled metrics, audit, server status and configuration reload.
|
||||
- **Optional multi-server management**: one central panel for a local EasyDNS installation plus remote installations (for example one Primary and two Secondary DNS servers).
|
||||
- Server topology with per-server health, actual DNS role counts, automatic active-server selection and read-only zone serial comparison.
|
||||
- **Metrics: Aggregate / Split / Single** in multi-server mode. Additive QPS rates and counters can be combined, cache ratios are weighted, and latency percentiles remain per-server. No synthetic history or new EasyDNS API endpoints.
|
||||
- **Metrics: Aggregate / Split / Single** in multi-server mode, with time-range and downsampling controls globally and per chart. Additive QPS rates and counters can be combined, cache ratios are weighted, and latency percentiles remain per-server. No synthetic history or new EasyDNS API endpoints.
|
||||
- **Single-server mode by default**. Enable Multi-server using `config.toml` (Debian), `.env` (Compose), or the Configuration toggle only when neither source explicitly sets the mode.
|
||||
- Overview and Metrics 0.1.2: 15-minute, 1-, 6-, 12- and 24-hour ranges, Auto/15s/30s/1m/5m/15m/1h server-side downsampling; chart-specific overrides, hover details and real sample CSV export.
|
||||
- 15 measured chart types from existing `/api/v1/stats` fields (DNS throughput, sources, result codes, cache, latency, policy, rate limiting, errors); no Prometheus/Grafana scraping or fictitious host CPU data.
|
||||
- Sampling in Go panel RAM every 15 seconds, up to 24 hours (resets on panel restart and starts empty); gaps and counter resets stay missing, including fleet aggregates.
|
||||
- Secure administrator login, session/CSRF protection, safe confirmations and ETag/If-Match concurrency handling for DNS record changes.
|
||||
|
||||
The panel never invents REST endpoints or server-side capabilities. In particular, the optional “topology” is a **management view**, not a distributed cluster implementation. There is no automatic leader election, quorum, primary/secondary provisioning, DNS replication setup, or secret distribution. EasyDNS itself continues to handle native AXFR/IXFR and NOTIFY, configured on the respective DNS installations.
|
||||
@@ -24,13 +27,19 @@ Almost-black backgrounds, fine hairline borders, dense tables, restrained cyan/a
|
||||
|
||||
Five approved appearance references are in `design/reference/`. The screenshots under `design/screenshots/` are rendered demo fixtures, **not live EasyDNS measurements**. UI elements are constrained by available API data and operations; the style references are not treated as a backend contract.
|
||||
|
||||
## Zone record readability and server inventory (0.1.2-1)
|
||||
|
||||
On **Zones → [zone] → Records**, check **Hide DNSSEC records** to exclude signatures, DNSKEY and denial-of-existence records from the displayed table while preserving the original DNS data. The filter is off by default, works with name/type search, and persists across Next/Previous links. Counts in this mode refer to the unfiltered API total. No Prometheus or DNS service changes are needed.
|
||||
|
||||
With optional multi-server enabled, the server overview links directly to the **Managed installations** section (`/servers#server-inventory`) and to individual server rows. When disabled, the same URL redirects to **Configuration** with a notice instead of returning 404.
|
||||
|
||||
## Install with Debian packages
|
||||
|
||||
EasyDNS itself must already be installed and running. Install the matching EasyDNS Web package:
|
||||
|
||||
```bash
|
||||
sudo apt install ./easydns-ui_0.1.1_amd64.deb
|
||||
# On ARM64, use easydns-ui_0.1.1_arm64.deb instead.
|
||||
sudo apt install ./easydns-ui_0.1.2-1_amd64.deb
|
||||
# On ARM64, use easydns-ui_0.1.2-1_arm64.deb instead.
|
||||
sudo systemctl status easydns-ui
|
||||
sudo cat /etc/easydns-ui/panel.password
|
||||
```
|
||||
@@ -76,7 +85,7 @@ sudo systemctl restart easydns-ui
|
||||
sudo journalctl -u easydns-ui -f
|
||||
```
|
||||
|
||||
**Upgrade note for Multi-server users:** 0.1.1 treats `[multiserver] enabled` in TOML as authoritative. If an older 0.1.0 installation had Multi-server enabled only via the web toggle while `config.toml` still says `enabled = false`, change the TOML value to `true` and restart after upgrading. Existing remote connections and tokens remain saved; they are not deleted.
|
||||
**Upgrade note for Multi-server users:** Starting from 0.1.1, the panel treats `[multiserver] enabled` in TOML as authoritative. If an older 0.1.0 installation had Multi-server enabled only via the web toggle while `config.toml` still says `enabled = false`, change the TOML value to `true` and restart after upgrading. Existing remote connections and tokens remain saved; they are not deleted.
|
||||
|
||||
The TOML file can configure username, password, API URL, API token (or the generated token file), bind address, session settings and up to 15 additional server connections. For an existing installation upgraded from the old `/etc/default/easydns-ui`, copy any custom values to the TOML file; the old shell environment file is no longer sourced by the systemd unit.
|
||||
|
||||
@@ -99,8 +108,8 @@ make test
|
||||
make vet
|
||||
make build
|
||||
./bin/easydns-ui -version
|
||||
make deb GOARCH=amd64 VERSION=0.1.1
|
||||
make deb GOARCH=arm64 VERSION=0.1.1
|
||||
make deb GOARCH=amd64 VERSION=0.1.2-1
|
||||
make deb GOARCH=arm64 VERSION=0.1.2-1
|
||||
```
|
||||
|
||||
### Reproducible Docker-based Debian packaging
|
||||
@@ -110,8 +119,8 @@ Only Docker is required on the build host (no local Go or `dpkg-deb`):
|
||||
```bash
|
||||
./scripts/build_deb.sh # amd64 + arm64
|
||||
./scripts/build_deb.sh --arch amd64
|
||||
./scripts/build_deb.sh --arch arm64 --version 0.1.1
|
||||
make docker-deb ARCH=all VERSION=0.1.1
|
||||
./scripts/build_deb.sh --arch arm64 --version 0.1.2-1
|
||||
make docker-deb ARCH=all VERSION=0.1.2-1
|
||||
```
|
||||
|
||||
The default build image is `golang:1.23-bookworm`, including Debian tools. The Docker build container runs with networking disabled (`--network none`), uses the existing `scripts/build-deb.sh` package definition, and compiles both Linux architectures with `CGO_ENABLED=0`. Packages are placed in `dist/`.
|
||||
|
||||
Reference in new issue
Block a user