Fix subdomain DNS messaging for Ladill nameservers and retire pending-setup primaries.
Deploy Ladill Hosting / deploy (push) Successful in 47s

Treat ns_auto domains as managed DNS, publish subdomain A records via PowerDNS without failing the UX when the local DNS registry is missing, and promote real linked domains over pending-setup.local placeholders.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-13 16:47:50 +00:00
co-authored by Cursor
parent 460edb8719
commit 136cf8b719
12 changed files with 686 additions and 45 deletions
+13
View File
@@ -121,4 +121,17 @@ class Domain extends Model
return (string) $this->status === 'verified'
&& (string) $this->onboarding_state === self::STATE_ACTIVE;
}
/** True when Ladill should publish zone records (nameserver / managed DNS path). */
public function usesManagedDns(): bool
{
if ((string) $this->dns_mode === 'managed') {
return true;
}
return in_array((string) $this->onboarding_mode, [
self::MODE_NS_AUTO,
self::MODE_RESELLER_AUTO,
], true);
}
}