How to Set PTR Record on DigitalOcean Hetzner Vultr in 2026
Learn how to set PTR record on DigitalOcean, Hetzner, and Vultr to improve email deliverability.
Why Setting a PTR Record Matters for Email Deliverability
You send a transactional email, and it vanishes into the void. No bounce, no notification—just silence. You check your logs, and it’s not a typo in the address. It’s the server. And the real culprit? A missing or misconfigured PTR record.
Think of a PTR record as a digital fingerprint: it maps your server’s IP address back to your domain name. Without it, email providers like Gmail, Outlook, and Yahoo can’t verify that you’re who you claim to be. And when they can’t, your mail gets flagged—often silently, sometimes outright rejected.
Major providers like DigitalOcean, Hetzner, and Vultr don’t set reverse DNS for you. Unlike some cloud platforms that auto-configure it, you must do it manually. Skipping this step isn’t just a technical oversight—it erodes sender reputation and harms deliverability. How to set PTR record on DigitalOcean Hetzner Vultr? It’s a simple but critical step. Do it right, and your emails get seen.
Key takeaways
- Without a valid PTR record, outbound emails from DigitalOcean, Hetzner, or Vultr are likely to be rejected or marked as spam by Gmail, Outlook, and Yahoo.
- Each provider requires manual reverse DNS setup—there is no automatic configuration in their control panels.
- Setting a PTR record properly improves sender reputation and increases inbox placement rates for transactional and marketing emails.
What Is a PTR Record and How Does It Work?
A PTR record (Pointer record) maps an IP address back to a domain name — this is reverse DNS lookup. While A records map domain names to IPs, PTR does the opposite. For email servers, having a matching PTR record is key: it proves your IP is tied to a real, authorized domain, which helps avoid spam filters. Without it, your messages may get marked as suspicious or blocked.
How PTR Affects Email Deliverability
When an email arrives, the receiving server checks if the sender’s IP has a valid PTR record pointing to a domain it controls. If the domain in the PTR doesn’t match your sending domain (e.g., the IP points to mail.example.com, but your messages come from [email protected]), this mismatch raises red flags. Spam filters see this as a sign of spoofing or poor infrastructure — common reasons for inbox placement drops.
According to RFC 1035, which defines DNS standards, PTR records are intended for the reverse mapping of IPs to hostnames. While not mandatory, they are considered an industry-standard best practice, especially for anyone sending email from a server with a fixed IP address.
Why You Need a Correct PTR Record
Providers like Amazon SES and Google Mail require a properly configured PTR record for reliable delivery. If you're using a VPS from DigitalOcean, Hetzner, or Vultr — all of which allow full access to network settings — you can set your own. But not all hosts configure it by default, so it’s up to you to do it.
Let’s say you send newsletters from your own server. If your IP has no PTR record, or the domain doesn’t align with your sending domain, you’re risking rejection or poor inbox placement. It’s not a guarantee of deliverability, but skipping it makes it much harder.
For businesses sending bulk emails, verifying your infrastructure is clean is essential. Tools like MailTester help catch these issues early: you can test whether your sending domain aligns with your IP’s reverse DNS.
Use the bulk verification tool to audit your email list, or check individual addresses with the real-time verification API. If your outbound emails are bouncing or landing in spam, a mismatched or missing PTR record could be one of the root causes.
How to Set a PTR Record on DigitalOcean
You can set a PTR record on DigitalOcean by logging into your control panel, going to Networking → Reverse DNS, entering your domain name (like mail.example.com), and saving the change. The update typically takes 10–30 minutes to propagate. Verify it using tools like MXToolbox or the dig command to ensure the reverse DNS resolves correctly.
Step-by-step: Configure Reverse DNS in DigitalOcean
- Log in to your DigitalOcean Control Panel. Access your account at cloud.digitalocean.com. This is where you manage all your Droplets and networking settings.
- Navigate to Networking → Reverse DNS. In the left-hand sidebar, click on "Networking" and select the "Reverse DNS" tab. This section lets you assign a hostname to your IP address, which is required for email deliverability.
- Enter your domain in the PTR field. Input a fully qualified domain name (FQDN) like
mail.example.com. The domain must resolve via DNS and match your sending domain. This helps mail servers validate your identity and improves sender reputation. - Save the change. Click “Save” to submit the update. DigitalOcean will apply the change, but propagation can take 10 to 30 minutes. During this time, the record may not be visible or usable.
- Verify the update. Use
dig -x your.ip.addressfrom your terminal or test via MXToolbox. If the response returns your domain, the PTR is correctly configured. This step is critical: email providers like Gmail, Microsoft, and Apple check PTR records during inbox placement.
Why This Matters for Email Deliverability
A properly set PTR record reduces the chance of your emails being marked as spam. The lack of reverse DNS is a common reason for deliverability failures in transactional and marketing email streams. While PTR alone doesn’t guarantee inbox placement, it’s a foundational requirement.
Even if your domain has valid SPF, DKIM, and DMARC settings, missing or incorrect PTR records can lead to rejections or low engagement. For teams sending bulk email, it's one of the first setup steps to check—especially when using infrastructure like DigitalOcean, Hetzner, or Vultr with shared IPs.
If you're sending emails at scale, use a tool like MailTester's bulk verification to check if your email addresses are valid, and test inbox placement before sending. This ensures your domain, IP, and infrastructure are all aligned with best practices.
How to Set a PTR Record on Hetzner
You can set a PTR record on Hetzner by logging into the Robot panel, navigating to your server’s IP under 'IP Addresses', selecting 'Reverse DNS' in the Actions tab, and entering your fully qualified domain name (like mail.example.com). Hetzner applies the change immediately after verification, which helps improve email deliverability by aligning your IP’s reverse DNS with your sending domain.
Step-by-step: Configure PTR in Hetzner Robot
- Log in to Hetzner Robot at https://robot.hetzner.de. This is Hetzner’s control panel for managing servers, networks, and IP configurations.
- Navigate to your server’s IP address. Go to the 'IP Addresses' section and find the public IP assigned to your server. This is the same IP used by your mailserver or application.
- Open Reverse DNS settings. Under the Actions tab for that IP, click 'Reverse DNS'. This is where you define the domain name associated with your IP, which is critical for email reputation.
- Enter your FQDN. Input your fully qualified domain name, such as
mail.example.com. It must resolve correctly and match your sending domain exactly, as inconsistent reverse DNS can signal spam or misconfiguration. - Confirm the change. Once submitted, Hetzner verifies the domain and applies the PTR record immediately. No DNS propagation delay—unlike standard DNS, this change is instant.
Why PTR Matters for Email Deliverability
Without a correct PTR record, many email providers reject messages from your server. It’s a basic signal that your IP is legitimate and associated with a real domain. According to industry practices documented in RFC 1912 and observed in major mail providers, misaligned or missing PTR records are a common reason for messages to land in spam folders or be blocked entirely.
If you're sending emails from a VPS, using a service like SendGrid or Mailgun, or managing your own mailserver, ensuring your PTR is properly configured is not optional. It’s part of a broader email authentication stack that includes SPF, DKIM, and DMARC. Tools like MailTester’s inbox placement reports can show you how your email performs in real inboxes, including whether PTR issues are affecting delivery.
If you're validating large email lists, you’ll want to check for sender reputation signals like PTR alignment. The real-time verification API and bulk list checks at MailTester help ensure your emails go to valid, engaged addresses—making sender reputation, including PTR, a foundational requirement.
How to Set a PTR Record on Vultr
You can set a PTR record on Vultr by logging into your Cloud Dashboard, selecting your server, navigating to Settings, and entering your domain in the Reverse DNS section. The change applies instantly. Confirm it with nslookup or dig to verify propagation.
Step-by-Step: Configure Reverse DNS on Vultr
- Log into the Vultr Cloud Dashboard at https://my.vultr.com. This is the central control panel for managing your infrastructure across all regions.
- Navigate to your server. Go to the Servers section, find your virtual machine, and click on its name to open the instance details.
- Open Server Settings. Scroll down and click on the Settings tab. This is where you manage network, security, and DNS-related configurations.
- Enter your domain. Under the Reverse DNS section, type your fully qualified domain name — for example,
mail.example.com. This domain must resolve to your server’s IP address. - Save your changes. Click Save. Vultr applies the update immediately, with no propagation delay. Unlike traditional DNS, PTR records on Vultr are managed via the control panel, not external DNS zones.
Verify the PTR Record
After saving, use command-line tools like dig or nslookup to confirm the record exists. For example:
dig -x 192.0.2.100You should see your domain returned as the reverse DNS entry. This check is essential for email deliverability — many email providers, including Gmail and Outlook, reject messages from servers without a valid PTR record.
For teams sending transactional or marketing mail, ensuring your server’s PTR aligns with your domain is a foundational step. Without it, your messages may be marked as spam or rejected outright. While the process is quick, consistency across DNS configurations (SPF, DKIM, DMARC) matters equally. Tools like inbox placement testing can simulate real-world delivery and reveal issues before they impact your sender reputation.
Reverse DNS is defined in RFC 1035, which outlines the DNS system’s role in resolving IP addresses to names. While the internet doesn’t require PTR records for basic connectivity, they’re a standard part of trusted email infrastructure.
Common Mistakes When Setting PTR Records
You’re setting a PTR record for email deliverability, but skipping the basics can still get your messages flagged or blocked. Common pitfalls include using a domain that doesn’t resolve, entering a non-FQDN, ignoring DNS and email authentication setup, or waiting too long to verify. Even worse: using catch-all or disposable domains in your PTR harms sender reputation and increases the risk of being blacklisted. Let’s fix that.
Non-FQDN and Misconfigured Domains
- Never enter just
example.com— PTR records require a fully qualified domain name likemail.example.com. Using a non-FQDN fails DNS validation and triggers delivery issues. - Ensure the domain in your PTR points to an IP with a working A record. If the DNS lookup fails, mail servers reject the connection outright.
- Always verify SPF and DKIM are set before relying on PTR. Without them, even correct PTRs won’t improve inbox placement. RFC 7208 (SPF) and RFC 6376 (DKIM) are industry standards for authentication.
Timing, Verification, and Reputation Risks
- Some providers take 24–72 hours to validate PTR changes. Don't assume it works immediately — use tools like MxToolbox to check your setup.
- Avoid using catch-all or disposable domains in the PTR field. Services like MailTester bulk verify email lists to detect invalid, role-based, or disposable addresses early.
- Disposable email domains (like
tempmail.com) are often used by bots and are linked to spam. Using them in PTR signals poor sender hygiene and risks blacklisting. - Let’s be clear: a well-configured PTR helps, but it’s not a magic fix. It works best when combined with proper domain authentication and consistent sending behavior.
- Use your email verification tool’s real-time API — MailTester’s API — to validate addresses before sending, especially in bulk campaigns.
How PTR Records Affect Sender Reputation and Inbox Placement
Sender reputation is built over time through consistent, trustworthy signals — and a properly configured PTR record is one small but meaningful factor. Email providers like Gmail and Outlook track reputation not just from bounces or spam complaints, but from infrastructure signals. A missing or mismatched PTR can make your server look unreliable, even if your content is clean. You don’t need a perfect score, but skipping this step adds noise to your reputation profile, which can hurt inbox placement.
Why PTR Matters for Email Trust Signals
Most major email providers treat PTR records as part of the broader infrastructure validation. When your server’s IP has a matching PTR that resolves to your domain (and vice versa), it shows consistency across systems. This isn’t a hard rule, but it’s a signal that you’re managing your infrastructure rather than leasing a random address.
Servers without working PTR entries are more likely to be flagged during automated checks. While not alone enough to get blocked, they are often assigned a lower trust score — especially if other signals (like DMARC alignment) are weak. The result? Your emails land in folders, not inboxes, or worse — get outright rejected.
Inbox Placement Can Drop Without PTR
While exact drop rates vary, poorly configured or missing PTR records are a known red flag in deliverability assessments. Some benchmarks from monitoring services suggest that misconfigured IPs can see inbox placement reduced by 15–30%, depending on sender history and message volume. That’s not theoretical — it’s what’s seen in real-world testing across hundreds of senders.
Let’s be clear: a PTR won’t fix broken authentication or poor list hygiene. But skipping it means giving away a small but real edge. If you're sending transactional or marketing emails from DigitalOcean, Hetzner, or Vultr, and your IP has no PTR, you’re ignoring a free trust signal.
If you want to verify how your setup affects deliverability, test it directly. Use MailTester’s inbox-placement testing to send a sample email to major inboxes and see where it lands — Gmail, Outlook, Apple Mail, and more. The report shows exactly how your current configuration, including PTR, impacts real inboxes.
Try inbox-placement testing with MailTester to confirm whether your PTR and server setup are strong enough to get emails into the inbox — not the spam folder.
For broader email health, use our bulk verification tool to clean your list, or integrate our real-time API to verify before sending. No credit card. 100 free checks to start.
How to Test if Your PTR Record Is Working
Run dig -x your.ip.address or nslookup your.ip.address from your terminal. If the response returns your domain name, your PTR record is set correctly. Use tools like MXToolbox or Spamhaus Lookup for cross-verification. Make sure the domain in the PTR matches the one used in SPF, DKIM, and HELO/EHLO — mismatches can trigger spam filters. If no domain shows up or something else appears, your PTR isn’t working. Double-check your provider settings and restart the setup.
Step-by-Step Verification Process
- Run a reverse DNS lookup using your CLI. Open a terminal and type
dig -x your.ip.address(replace with your actual IP). If the output includes your domain, you’re good. This checks the underlying DNS resolution path defined by the RFC 1035 standard. - Use a third-party tool for cross-checking. Visit MXToolbox or Spamhaus Lookup and enter your IP. These tools confirm the current state of your PTR record and often show historical or reputation data that can help diagnose delivery issues.
- Ensure domain consistency across email records. Your PTR’s domain must match the domain in your SPF record, DKIM selector, and HELO/EHLO greeting. This isn’t optional — mismatches between sender identity and reverse DNS are a common cause of email rejection by inbound servers.
- Investigate missing or incorrect results. If the PTR returns a different domain or nothing at all, the record is either misconfigured or not propagated. Check your cloud provider’s console — DigitalOcean, Hetzner, and Vultr all require manual PTR assignment. Wait 5–10 minutes after changing it, then retry.
- Restart if needed. If the process fails, go back to your provider’s control panel, verify you’re setting it on the correct IP, and reapply. DNS propagation can take time; retry after waiting 15 minutes.
When PTR Isn’t Enough
Even with a working PTR, deliverability depends on other factors. If your mail bounces, use inbox placement testing to see if your messages land in spam folders. You can also validate your full email infrastructure with our bulk verification service to clean lists before sending.
Consistent alignment across SPF, DKIM, and reverse DNS is an industry-standard practice for reliable email delivery.
Why You Should Verify Your Email List Before Sending
You should verify your email list before sending because even a single invalid, catch-all, role-based, or disposable address can hurt your sender reputation, increase bounces, and reduce inbox placement. Sending to bad addresses—especially at scale—triggers spam filters and signals to ISPs that your list isn’t well-maintained. A list with just 10% invalid addresses can lead to a 20% drop in inbox delivery over time, undermining your entire campaign.
How Bad Addresses Damage Your Deliverability
When you send emails to invalid or role-based addresses (like admin@ or sales@), you get hard bounces. ISPs track these and use that data to evaluate your sending behavior. A high bounce rate, even if small, is a red flag that can lead to throttling or blacklisting. Even disposable email domains—created for temporary use—can harm your reputation if you keep sending to them after they’re discarded.
According to data from Return Path and industry benchmarks, senders with consistent bounce rates above 0.5% face lower inbox placement and higher scrutiny from filtering systems. You can’t assume your list is clean just because it passed a basic format check. Role accounts and catch-alls often appear valid but are never used for real messages, so they act as dead weight in your campaign.
Use Real Verification to Catch Risks Early
Let’s be honest: no matter how clean your signup form seems, some addresses are still invalid, misspelled, or temporary. That’s why you need verified data. MailTester’s bulk verification checks each address in real time using email delivery protocols—SMTP, MX lookups, and pattern detection—to flag invalid, catch-all, and risky addresses before you send.
With 98.9% accuracy, MailTester identifies issues that your basic regex or syntax checks would miss. This isn’t just about reducing bounces. It’s about maintaining sender reputation and maximizing inbox placement. The fewer bad sends, the more trust ISPs give you over time. You’re not just fixing errors—you’re building long-term deliverability.
For high-volume senders, it’s not optional. Use MailTester’s bulk verification to clean your list in minutes. If you’re integrating into workflows, our real-time API validates every new subscription as it comes in. For testing how well your email lands in real inboxes, try inbox placement testing, and see how it performs across major providers.
Most users report a drop in bounce rates by 80% or more after cleaning their lists. More importantly, inbox placement tends to stabilize or improve after consistent list hygiene. It’s not a shortcut—it’s the foundation of sustainable email delivery.
Integrate MailTester with Your Email Workflow for Proactive Hygiene
You can validate email addresses in real time during signups using MailTester’s API, automatically cleanse lists in Mailchimp, HubSpot, Klaviyo, or SendGrid, and use the in-app AI assistant to interpret verdicts like 'catch-all' or 'risky'—all while starting with 100 free verifications. Credits never expire, so you’re never locked into usage windows.
Validate on Signup, Cleanse at Scale
Let’s say you’re collecting emails on a landing page. Instead of waiting for bounces, hook the MailTester API to check every address before it hits your database. It returns a clean verdict—valid, invalid, catch-all, or risky—so you can block invalid entries before they ever enter your list. This is how top-performing senders reduce hard bounces and improve sender reputation.
MailTester’s real-time API integrates directly with your signup flow in minutes. No need to manually scrub or wait for results. The service handles the heavy lifting: validating syntax, checking MX records, spotting disposable domains, and detecting role accounts. It’s all done without slowing down your user experience.
Use the AI Assistant to Make Sense of Results
Not every result is straightforward. A 'catch-all' address means the domain accepts all emails, even invalid ones. That’s a red flag—it could be a test account or a spoofing target. A 'risky' verdict might indicate a temporary suspension, an outdated mailbox, or a high spam score.
MailTester’s in-app AI assistant helps you interpret these verdicts in plain terms. You don’t need to be a deliverability expert to understand why an email is risky. The AI explains the likely cause—like a disabled mailbox or a domain with poor sending history—and suggests next steps. This is especially useful when managing large lists where manual review isn’t feasible.
If you’re using Mailchimp, HubSpot, Klaviyo, or SendGrid, you can set up automatic cleansing workflows. New subscribers get verified instantly. Lists are purged of invalid or risky addresses before campaigns launch. This cuts down on hard bounces, boosts inbox placement, and protects your sender reputation.
It’s all backed by a 98.9% accuracy rate—based on internal validation across millions of addresses. Start with 100 free verifications and keep going with credits that never expire. Learn more about the platform, try the API, or see how it fits with your stack: integrations, API, bulk verification, or pricing.
The standard for inbox placement testing is to send to a real inbox and see if it lands in the primary tab—MailTester supports that. SMTP standards still govern delivery, and verification is the first step toward compliance.
Final Step: Confirm Your Setup Works — Every Time You Send
After configuring your PTR record and cleaning your email list, real-world delivery is no longer a gamble. Use MailTester’s inbox-placement test to simulate sends from actual inboxes—Gmail, Outlook, iCloud, and Yahoo—across multiple network environments.
Review the detailed results: check spam scores, analyze headers for missing or misconfigured authentication records, and verify inbox placement. If a test fails, trace the issue to a specific layer—DNS configuration, SPF/DKIM alignment, or list hygiene—and adjust accordingly.
Every send should be validated this way. Consistent testing ensures your delivery rate remains stable and your sender reputation stays strong, even as provider filters evolve.
Sources
- 52.1% of the world's top 1.8 million domains (937,931 domains) now publish a valid DMARC record, up from 29.1% in 2023. — EasyDMARC 2026 DMARC Adoption & Enforcement Report (2026)
- Google reported 265 billion fewer unauthenticated messages sent to Gmail users in 2024 — a 65% reduction — after its bulk-sender rules took effect, with 500,000+ top domains publishing DMARC records in response. — Google (via MailOver bulk-sender requirements guide) (2024)
Keep reading
- Email authentication: SPF, DKIM, DMARC, BIMI and MTA-STS (complete guide)
- Yahoo Requires DMARC Alignment — Not Just a DMARC Record
- 5.4.310 DNS Domain Does Not Exist Office 365 Fix
- DMARC adkim=s: When to Use Strict DKIM Alignment in 2026
- What Is a DKIM Replay Attack and How Spammers Abuse Signed Mail
Ready to put this into practice? MailTester verifies emails with 98.9% accuracy — start with 100 free verifications.
Frequently asked questions
Can I set PTR record on DigitalOcean if I use a custom domain?
Yes — you must enter your FQDN (e.g. mail.example.com) in the reverse DNS field. It must resolve via DNS and match your SPF/DKIM settings.
Why does Hetzner require manual PTR setup?
Hetzner treats IPs as dedicated resources; they do not assume ownership of domains. Manual setup ensures alignment with legal and security policies.
Does Vultr allow multiple PTR records?
No — each IP can have only one PTR record. Overwriting an existing one is allowed but requires reconfiguration.
What happens if my PTR record points to a disposable domain?
That email server will be flagged as suspicious. Disposal domains are not permitted in reverse DNS by email providers.
How long does it take for PTR to update?
Propagation is usually under 30 minutes. Some systems cache results longer. Use diagnostic tools to check immediately after setup.
Can PTR alone fix poor email deliverability?
No — PTR is one factor. You also need proper SPF, DKIM, a clean list, and sender reputation management.
How does MailTester help with list hygiene?
It checks for invalid, catch-all, disposable, and role-based addresses. Accuracy is 98.9%, and you get actionable results for real-time or bulk use.
Why does MailTester offer free verifications?
To help users test deliverability before scaling. You get 100 free verifications with no expiration, no strings attached.
Does MailTester verify domain names in PTR records?
No — it focuses on email addresses. However, it flags domains used in PTR as risky if they are disposable or role-based.
What is the difference between reverse DNS and PTR?
Reverse DNS is the process; PTR is the DNS record type used to perform it. They are functionally the same in practice.
Do I need both PTR and SPF for email deliverability?
Yes — PTR ensures IP legitimacy, and SPF validates that the sending domain authorized the IP. Both are required for full trust.
Can I set PTR record on shared hosting?
Typically not. Shared hosts do not assign dedicated IPs, so PTR is not available. Use a VPS or dedicated server instead.