feat: Add DNS configuration check and update subdomain management UI
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user