feat(NetworkConfigManager): add PTR zone display for servers; enhance interface with additional server information
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m52s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m52s
This commit is contained in:
@@ -568,7 +568,8 @@ function NetworkConfigManager() {
|
||||
interface: iface,
|
||||
interfaceName: iface.name || iface.id,
|
||||
server: server, // localIp привязан к serverId
|
||||
serverName: server?.dns || server?.ip || iface.serverId || '—'
|
||||
serverName: server?.dns || server?.ip || iface.serverId || '—',
|
||||
ptrZone: server?.dns || '—' // PTR зона = доменное имя сервера
|
||||
});
|
||||
}
|
||||
if (iface.remoteIp && iface.remoteIp.trim()) {
|
||||
@@ -579,7 +580,8 @@ function NetworkConfigManager() {
|
||||
interface: iface,
|
||||
interfaceName: iface.name || iface.id,
|
||||
server: server2, // remoteIp привязан к serverId2
|
||||
serverName: server2?.dns || server2?.ip || iface.serverId2 || '—'
|
||||
serverName: server2?.dns || server2?.ip || iface.serverId2 || '—',
|
||||
ptrZone: server2?.dns || '—' // PTR зона = доменное имя сервера
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -2072,6 +2074,7 @@ function NetworkConfigManager() {
|
||||
<th>IP адрес</th>
|
||||
<th>Тип</th>
|
||||
<th>Сервер</th>
|
||||
<th>PTR зона</th>
|
||||
<th>Интерфейс</th>
|
||||
<th className="text-end">Действия</th>
|
||||
</tr>
|
||||
@@ -2100,6 +2103,9 @@ function NetworkConfigManager() {
|
||||
<span>{item.serverName}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<code className="text-muted">{item.ptrZone}</code>
|
||||
</td>
|
||||
<td>
|
||||
<div className="d-flex align-items-center gap-2">
|
||||
<span>{item.interfaceName}</span>
|
||||
|
||||
Reference in New Issue
Block a user