Skip to main content

Setting Up Reverse DNS for Your VPS

Here is a quick way to think about Reverse DNS: normal DNS is like looking up a person’s phone number in a contacts list — you know the name, and you find the number. Reverse DNS (rDNS) works the other way around — you have the phone number (your IP address), and you want to find out whose name is attached to it. When another server on the internet sees traffic coming from your IP address, it can perform a reverse lookup to check whether your IP has a legitimate hostname associated with it. If it does, your server looks trustworthy. If it does not, alarm bells start ringing — especially for email servers. This is why configuring rDNS is one of the most important things you can do after setting up a new VPS, particularly if you plan to send any email at all.

Difficulty

Beginner

Time

3 Minutes

How Reverse DNS Affects Email Deliverability

This deserves its own section because it catches so many people off guard. Here is what happens behind the scenes every time your server sends an email:
  1. Your server connects to the recipient’s mail server and says “I have a message from you@yourdomain.com.”
  2. The recipient’s mail server looks at your IP address and performs a reverse DNS lookup — it asks “what hostname is associated with this IP?”
  3. If your IP resolves to something like mail.yourdomain.com, the mail server then does a forward lookup on mail.yourdomain.com to confirm it points back to your IP.
  4. If both directions match (Forward-Confirmed Reverse DNS), your email passes this check. If they do not match, or if no rDNS record exists at all, your email is far more likely to land in the spam folder — or be rejected outright.
Major email providers like Gmail, Outlook, and Yahoo all perform this check. Without proper rDNS, you are essentially sending mail from an unverified source, and most providers will treat it accordingly.

Configuring Reverse DNS

1

Navigate to Your Server

Log in at cloud.freakhosting.com, click Servers in the top navigation bar, then click Manage next to the server you want to configure.
2

Open the Network Tab

Click on the Network tab in the server management navigation.
3

Click Reverse DNS

In the IPv4 Addresses table, find the IP address you want to configure. You will see a blue Reverse DNS button in the RDNS column — click it.
4

Enter the Hostname

In the dialog that appears, enter the fully qualified domain name (FQDN) you want to associate with this IP address. Choose a hostname that reflects your server’s purpose:
  • mail.yourdomain.com — for a mail server (the most common use case)
  • server.yourdomain.com — for a general-purpose server
  • vps.yourdomain.com — a simple, descriptive option
5

Save the Record

Click Save or Update to apply the Reverse DNS record. The change typically takes effect within a few minutes on FREAKHOSTING’s side, though full DNS propagation across the entire internet can take up to 24-48 hours.

Why Reverse DNS Matters

Email Deliverability

The number one reason to configure rDNS. Email servers at Gmail, Outlook, Yahoo, and virtually every corporate mail system perform reverse lookups on incoming connections. Without a valid rDNS record, your emails are far more likely to be flagged as spam or rejected entirely — even if your SPF, DKIM, and DMARC records are perfect.

Server Identification

When other systems perform a reverse lookup on your IP, a configured rDNS record shows a meaningful hostname like server.yourdomain.com instead of a generic ISP-assigned address like 31-59-58-152.static.provider.net. This makes your server look professional and intentionally configured.

Security & Trust

Many security tools, intrusion detection systems, and monitoring services use rDNS as part of their verification process. A properly configured rDNS record signals that your server is legitimate and well-maintained — not a throwaway machine being used for spam or attacks.

Service Requirements

Some third-party services, payment gateways, and APIs require a valid rDNS record before allowing your server to connect. If you have ever been mysteriously blocked from an API and cannot figure out why, a missing rDNS record is a surprisingly common culprit.

Best Practices for Reverse DNS

  • Match forward and reverse — Ensure your rDNS hostname has a corresponding A record pointing back to your IP address. This bidirectional match is called Forward-Confirmed Reverse DNS (FCrDNS) and is the gold standard that email providers look for.
  • Use a real domain you own — Set the rDNS to a hostname under a domain you control. Made-up or generic names will not pass verification checks and defeat the purpose of setting rDNS in the first place.
  • Use a descriptive hostname — Choose something that reflects the server’s role. mail.yourdomain.com for a mail server, web.yourdomain.com for a web server, or vps1.yourdomain.com if you have multiple servers.
  • One hostname per IP — Each IP address can have exactly one rDNS record. If your server has multiple IPs, you can (and should) set rDNS on each one individually.
  • Verify after setting — After saving your rDNS record, confirm it is working by running dig -x YOUR_IP from a terminal or using an online reverse DNS lookup tool. You should see your chosen hostname in the response.

Practical Scenarios

This is the most critical scenario for rDNS. Set your rDNS to the hostname your mail server identifies itself as (the value in your SMTP HELO/EHLO). Typically this is mail.yourdomain.com. Then make sure mail.yourdomain.com has an A record pointing to your server’s IP. Also configure SPF, DKIM, and DMARC records for your domain — rDNS is just one piece of the email authentication puzzle, but it is the piece that trips people up first.
Strictly speaking, web servers do not require rDNS to function. However, it is still good practice to configure it. Some security scanners flag servers without rDNS, and if your web application ever sends transactional emails (password resets, order confirmations), those emails will benefit from having rDNS properly set.
rDNS is necessary but not sufficient for good email deliverability. Make sure you also have: an SPF record listing your server’s IP as an authorized sender, DKIM signing enabled on your mail server, a DMARC policy published in your DNS, and a clean IP reputation (check your IP against common blacklists at tools like MXToolbox).
Changes typically take effect within a few minutes on FREAKHOSTING’s infrastructure. However, remote servers may cache the old record for a while — full DNS propagation across the internet can take up to 24-48 hours. You can verify the record using dig -x YOUR_IP or online DNS lookup services.
You can enter any hostname, but for it to work properly, that hostname must have a forward A record pointing to your IP address. Without the matching forward record, rDNS verification checks (like those performed by email servers) will fail, making the rDNS record effectively useless.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to get a new server? Use code KB20 at checkout for 20% off your first month!

Last Updated: March 2026 | VPS Support: Reverse DNS simplified.