v0.1.1
Go quality gates / test (push) Waiting to run

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-30 14:44:28 +01:00
1 parent 8c4d463f1e
commit de13d851a8
75 files changed
+4656 -442

No files matched your search

+29 -26
View File
@@ -1,30 +1,33 @@
# API-GAPS — brakujące funkcje, których UI nie udaje
# EasyDNS API limitations and non-features
Sprawdzono rzeczywisty kod EasyDNS Rust 0.1.4, nie roadmapę. Oryginalne referencyjne obrazy z projektu UI zawierały niektóre hipotetyczne metryki i oznaczenia — działający panel **nie pokazuje ich jako danych z serwera**.
This list is based on the supplied EasyDNS Rust **0.1.4** implementation, not a roadmap. The Go UI does not treat a visual concept as evidence of a server API. The optional multi-server management available as an optional panel feature is strictly a **panel-owned aggregation and context-switching feature**.
| Brak / ograniczenie | Rzeczywisty stan API i zachowanie panelu |
| Requested or conceivable feature | Actual support and UI behavior |
|---|---|
| Query Log | Brak REST endpointu do listy historii zapytań DNS. Lookup to tylko jednorazowe `GET /query`. Nie ma strony Query Log. |
| Klaster, node health, 3/3 nodes | `GET /status` nie zwraca członków klastra. Panel pokazuje stan **pojedynczego** EasyDNS, bez wymyślania „Connected to cluster”. |
| 24-godzinne historyczne dane i wybór dowolnej daty | `/stats` zwraca migawkę/liczniki. Go zbiera tylko realne próbki co 15 s (do 6 godzin w pamięci), bez fikcyjnego 24h. Po restarcie historia znika. |
| Wykres QPS przypisany do konkretnej strefy | API nie zwraca per-zone QPS. Nie ma takiego wykresu w działającym Zone Details. |
| Transfer queue z `progress 64%`, ETA, pending list | `/zones/{zone}/transfers` zwraca **historię** AXFR/IXFR; nie udostępnia kolejki/progresu procentowego. Panel pokazuje tabelę realnej historii. |
| Dowolna edycja ZoneConfig | REST umożliwia utworzenie primary, podmianę tekstu strefy oraz usunięcie overlay-zone, ale nie pozwala zmieniać transfer ACL / NOTIFY / TSIG na istniejącej strefie. Konfiguracja read-only. |
| Tworzenie secondary przez REST | `/zones` POST tworzy tylko primary. Secondary może zostać zsynchronizowana, jeśli już istnieje w konfiguracji. |
| Pobranie źródłowego zone-file do edytora | Brak `GET zone_file`. Formularz replace wymaga samodzielnego podania **całego** pliku. |
| Indywidualny endpoint GET record | Brak `GET /zones/{zone}/records/{id}`. Panel szuka ID na paginowanej liście (limit 100 stron po 1000 rekordów). |
| SOA edytowany jako zwykły rekord | EasyDNS odrzuca SOA w CRUD rekordów. Panel zarządza SOA tylko przez pełną podmianę zone-file. |
| Pełny CRUD Views | `/policies` GET wystawia widoki, lecz brak REST zapisu tych struktur. Widok read-only. |
| Pełny CRUD ACL | Nazwane ACL i API/recursion client ACL wystawione do odczytu, brak odpowiednich PUT/POST/DELETE. Widok read-only. |
| Edycja Rate Limiting | `/policies` GET i `/stats.rate_limited` są dostępne, ale brak REST aktualizacji limitów. Widok read-only. |
| Pełna edycja polityk | `/policies` PUT obsługuje wyłącznie `allowlist` i `block_action`. Pozostałe ustawienia tylko do odczytu. |
| DNSSEC lifecycle, nowe klucze, signing | Status może być widoczny w GET zone, nie ma REST zarządzania kluczami. Tylko odczyt. |
| Lista konkretnych reguł Blocklist | GET `/blocklists` zwraca źródła i sumę reguł, nie każdy element. POST dodaje regułę; brak CRUD reguł. |
| Edit/Delete Upstream | `GET /upstreams`, `POST /upstreams` są faktyczne; brak aktualizacji/usunięcia. |
| Key browser / delete pojedynczego cache entry | `/cache` daje liczniki i flush całości lub domeny, nie listę kluczy cache. |
| Restart/stop server, zmiana portów z UI | REST udostępnia hot-reload konfiguracji, nie start/stop serwera ani pełny edytor `config.yaml`. |
| Rotacja tokenów API | Lokalny auto-token jest generowany przez EasyDNS i weryfikowany w jego kodzie; brak REST endpointu do rotacji. UI nie pozwala go edytować ani wyświetlić. |
| CPU, RAM, disk / host load przez `/stats` | Odpowiedź EasyDNS `stats` nie zawiera pełnych metryk OS. UI nie rysuje CPU/RAM/disk na podstawie fikcyjnych danych. |
| Serwerowy eksport CSV/report z /stats | Brak odpowiedniego export endpointu w REST. Panel umożliwia przeglądanie liczników, bez fikcyjnego raportu. |
| Native cluster membership / leader election / 3-of-3 quorum | Not provided. `GET /status` reports a **single installation**. The optional Servers page probes multiple independent APIs but does not create a DNS cluster. |
| Automatic Primary/Secondary provisioning | Not provided. `POST /zones` creates only Primary zones. Secondary zones are configured on each EasyDNS instance outside REST. Panel role labels do not convert DNS roles. |
| Automatic AXFR/IXFR orchestration and failover | Not provided. Server topology lines represent **operator intent**, not measured transfer links. The panel does not schedule transfers or manage failover. |
| Cross-server serial tracking as a persistent sync monitor | Not provided. `GET /zones/{zone}` supports an **on-demand** serial comparison; no cross-server replication guarantees or history are inferred. |
| Editing transfer ACLs, upstream primaries, notify targets or TSIG of an existing zone | Not provided. Zone configuration is visible with GET; no general REST setter for these fields. |
| Automatic remote token discovery/rotation | Not provided. Each remote EasyDNS auto-generates its own token. An administrator must supply that token securely to the Go panel, or use a local tunnel. |
| Query log | No REST endpoint for historical DNS client queries. `GET /query` is only an immediate diagnostic lookup. |
| Native 24-hour historical graphs | `/stats` returns counters and a snapshot. The Go service samples at 15-second intervals, up to six hours in memory per enabled node. No fabricated 24-hour history. |
| Per-zone query rate | No per-zone QPS. The Zone Details screen does not display an invented rate chart. |
| Transfer queue position / ETA / percentage progress | `/zones/{zone}/transfers` provides history, not live queue/progress. |
| Generic ZoneConfig editor | No arbitrary REST configuration mutation. Create primary, replace complete zone text, delete API-created overlays, but do not edit config-only fields. |
| Read original zone text | No `GET zone_file` endpoint. Replace requires the whole replacement text supplied by the operator. |
| GET an individual record by ID | No `GET /zones/{zone}/records/{id}`. The panel searches the paginated record list before editing. |
| Regular record CRUD on SOA | SOA mutation is rejected by the record API; use full zone replacement where supported. |
| Full Views CRUD | Views appear in `GET /policies`, but cannot be written with the available REST API. Read-only screen. |
| Full ACL CRUD | Named ACLs and client ACLs are available to read, not update. Read-only screen. |
| Rate-limiter configuration updates | Effective values and rate-limited counter are readable. No REST update method. |
| Full policy editing | Only `allowlist` and `block_action` are writable through `PUT /policies`. |
| DNSSEC signing and key lifecycle | Limited status is exposed by zone detail GET; no REST API for generating/rotating/signing keys. |
| Browse/edit/delete individual blocklist rules | `GET /blocklists` returns sources and aggregate counts; POST can append one rule, but there is no per-rule CRUD. |
| Edit/delete upstream | `GET /upstreams` and `POST /upstreams` are supported, not update/delete. |
| Browse cache keys / delete one key | `/cache` supports counters and invalidation of all entries or a domain, not a key browser. |
| Server restart/stop, port editing, raw `config.yaml` editing | Hot reload exists, not process control or a general configuration editor. |
| Query audit used as query history | `GET /audit` is administrative audit, not full DNS query logging. |
| Browser access to bearer tokens | Forbidden by design. Tokens are read or stored server-side by the Go service. |
Priorytet: zgodność API przed dekoracyjną zgodnością z koncepcyjnym obrazem. Gdy wyświetlanie danych jest niemożliwe, panel pokazuje tekst informacyjny lub brak widoku; nie generuje fałszywych wartości.
All additional routes introduced by the Go panel, including `/servers`, `/servers/compare`, `/configuration/multi-server` and `/ui/telemetry`, are **UI-backend routes**, not newly implemented EasyDNS REST routes. The default single-server experience remains available even when this feature exists in the codebase.