Private
Public Access
1
0

feat: Add DNS configuration check and update subdomain management UI

This commit is contained in:
2026-02-25 16:26:44 -05:00
parent 8494f87aae
commit 8340110a34
3 changed files with 26 additions and 1 deletions

View File

@@ -107,10 +107,16 @@ class Subdomain extends Component
'walrus','warthog','weasel','whale','wolf','wolverine','wombat','woodpecker','yak','zebra',
];
public bool $dnsConfigured = false;
public function mount(Server $server): void
{
parent::mount($server);
$this->loadServerZones();
$this->dnsConfigured = TechnitiumDns::isConfigured();
if ($this->dnsConfigured) {
$this->loadServerZones();
}
}
/**