{{-- Application Settings > Domains: what the two "DNS lookup" options can actually do on THIS server. Both providers run through the same redundancy ladder (dig over UDP/53, then DNS-over-HTTPS on 443), so a host without `dig` still verifies domains. Only when neither can run does verification pause - and then this block says exactly what is missing and offers to switch to a method that answers from here. --}} @php $dnsChecks = []; $dnsAlert = null; try { $dnsChecks = \App\Services\Dns\DnsCapability::checks(); $dnsAlert = \App\Services\Dns\DnsCapability::alert(); } catch (\Throwable $e) { $dnsChecks = []; } @endphp @if($dnsChecks)
@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']))
    @foreach($dnsAlert['missing'] as $missing)
  • {{ $missing }}
  • @endforeach
@endif @if(!empty($dnsAlert['install_hint']))
{{ $dnsAlert['install_hint'] }}
@endif
@else {{ trans('application_settings.sending_domain.form.alert_message.dns_available_title') }}
{{ trans('application_settings.sending_domain.form.alert_message.dns_method_dig') }}: {{ $dnsChecks['dig'] ? trans('common.yes') : trans('common.no') }}  ·  {{ trans('application_settings.sending_domain.form.alert_message.dns_method_doh') }}: {{ $dnsChecks['http'] ? trans('common.yes') : trans('common.no') }}
@if(!$dnsChecks['dig'])
{{ trans('application_settings.sending_domain.form.alert_message.dns_dig_optional') }}
@endif @endif
@endif