feat(gui): add reverse DNS hostname detection for peers

Resolve hostname via PTR record on peer endpoint IP.
Results cached in memory for 5 minutes to avoid latency.
Hostname shown below endpoint in the peers table.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-06 10:23:12 +03:00
parent fe1cba2d02
commit 667cdd90df
3 changed files with 28 additions and 1 deletions
+1
View File
@@ -177,6 +177,7 @@ tbody tr.row-disabled td { opacity: 0.45; }
.text-muted { color: var(--text-muted); }
.pubkey { font-family: var(--mono); font-size: 11px; color: var(--text-muted); cursor: default; }
.hostname { font-size: 11px; color: var(--accent); font-weight: 500; }
.empty { text-align: center; padding: 40px !important; color: var(--text-muted); }
.empty a { color: var(--accent); text-decoration: none; }