{#if ptrRecords && ptrRecords.length > 0}
Forward-Confirmed Reverse DNS
FCrDNS

Forward-confirmed reverse DNS (FCrDNS) verifies that the PTR hostname resolves back to the original sender IP. This double-check helps establish sender legitimacy.

{#if senderIp}
Original Sender IP: {senderIp}
{/if}
{#if hasForwardRecords}
PTR Hostname(s): {#each ptrRecords as ptr}
{ptr}
{/each}
Forward Resolution (A/AAAA): {#each ptrForwardRecords as ip}
{#if senderIp && ip === senderIp} Match {:else} Different {/if} {ip}
{/each}
{#if fcrDnsIsValid}
Success: Forward-confirmed reverse DNS is properly configured. The PTR hostname resolves back to the sender IP.
{:else}
Warning: The PTR hostname does not resolve back to the sender IP. This may impact deliverability.
{/if}
{:else}
Error: PTR hostname(s) found but could not resolve to any IP addresses. Check your DNS configuration.
{/if}
{/if}