DNS Records {#if dnsScore !== undefined} {dnsScore}% {/if} {#if dnsGrade !== undefined} {/if}

{#if !dnsResults}

No DNS results available

{:else} {#if dnsResults.errors && dnsResults.errors.length > 0}
Errors:
    {#each dnsResults.errors as error}
  • {error}
  • {/each}
{/if} {#if !domainOnly} {#if receivedChain && receivedChain.length > 0}

Received from: {receivedChain[0].from} ({receivedChain[0].reverse || "Unknown"} [{receivedChain[0] .ip}])

{/if}

Return-Path Domain: {dnsResults.rp_domain || dnsResults.from_domain}

{#if (domainAlignment && !domainAlignment.aligned && !domainAlignment.relaxed_aligned) || (domainAlignment && !domainAlignment.aligned && domainAlignment.relaxed_aligned && dnsResults.dmarc_record && dnsResults.dmarc_record.spf_alignment === "strict") || (!domainAlignment && dnsResults.rp_domain && dnsResults.rp_domain !== dnsResults.from_domain)} Differs from From domain See domain alignment {:else} Same as From domain {/if}
{#if dnsResults.rp_mx_records && dnsResults.rp_mx_records.length > 0} {/if} {/if} {#if !domainOnly}

From Domain: {dnsResults.from_domain}

{#if dnsResults.rp_domain && dnsResults.rp_domain !== dnsResults.from_domain} Differs from Return-Path domain {/if}
{/if} {#if dnsResults.from_mx_records && dnsResults.from_mx_records.length > 0} {/if} {#if !domainOnly} {/if} {/if}