{#if ptrRecords && ptrRecords.length > 0}
Reverse DNS
PTR

PTR records (reverse DNS) map IP addresses back to hostnames. Having proper PTR records is important as many mail servers verify that the sending IP has a valid reverse DNS entry.

{#if senderIp}
Sender IP: {senderIp}
{/if}
{#each ptrRecords as ptr}
Found {ptr}
{/each} {#if ptrRecords.length > 1}
Warning: Multiple PTR records found. While not strictly an error, having multiple PTR records can cause issues with some mail servers. It's recommended to have exactly one PTR record per IP address.
{/if}
{:else if senderIp}
Reverse DNS (PTR)
PTR

PTR records (reverse DNS) map IP addresses back to hostnames. Having proper PTR records is important for email deliverability.

Sender IP: {senderIp}
Error: No PTR records found for the sender IP. Contact your email service provider to configure reverse DNS.
{/if}