Buttondown Documentation
Reverse DNS lookup is the process of resolving an IP address back to a domain name. This is the opposite of the more common forward DNS lookup, where a domain name is resolved to an IP address (usually via the A
tag.)
How this happens practically is that that the IP address is placed in the in-addr.arpa
domain, and a PTR record is created for the IP address. This PTR record is then queried to get the domain name. Using something like dig
, you can query the PTR record for an IP address like so:
This is equivalent to the following query:
Reverse DNS isn't magic; it's just a very widely adopted convention. Most cloud providers (e.g. AWS) will let you set up reverse DNS for your IP addresses.
This is important for email deliverability, as many email servers will check the reverse DNS of the sending IP address to see if it matches the domain in the From
header of the email.
A reverse DNS (or rDNS
) lookup that doesn't match the domain in the From
header is a red flag for spam, and can cause your email to be marked as spam or rejected outright.
You don't need to! We handle this all for you.
Yup. Technical explanation ahead for the morbidly curious: when you set up a custom domain, one of the records we have you set is a CNAME
record on one of your subdomains that points to a proxy
subdomain on our domain. This means that the IP address of the email server that sends your email is actually our IP address, so the reverse DNS lookup will resolve to our domain.