{{-- Admin banner: this server cannot resolve DNS. While this is showing, every lookup returns `unknown`, so sending-domain verification is PAUSED and nothing is deactivated - a missing binary must never cost a customer their tracking domain. The banner names exactly what is missing and offers to move the install to a lookup method that answers from here. Rendered from the layouts next to the AlertBar hook. Cheap by design: it reads cached capability flags and the rolling health record, never a live lookup (a blocked-egress box takes the whole ladder timeout to answer, and that must not happen inside a page render). --}} @php $dnsAlert = null; try { if (auth()->check() && function_exists('isStaffOrSuperAdmin') && isStaffOrSuperAdmin(auth()->user())) { $dnsAlert = \App\Services\Dns\DnsCapability::alert(); } } catch (\Throwable $e) { $dnsAlert = null; } @endphp @if($dnsAlert)
{{ trans('application_settings.sending_domain.form.alert_message.dns_unavailable_title') }}
{{ $dnsAlert['reason'] }} {{ trans('application_settings.sending_domain.form.alert_message.dns_unavailable_body') }}
@if(!empty($dnsAlert['missing'])) @endif @if(!empty($dnsAlert['install_hint']))
{{ $dnsAlert['install_hint'] }}
@endif
{{ trans('application_settings.sending_domain.form.label.domain_dns_confirm') }}
@endif