1. Choose the hostname for your PTR record
Pick a fully qualified hostname under a domain you control, such as mail.example.com or host.example.com. Use only the hostname—do not include https://, slashes or port numbers.
2. Point the hostname to your VPS IP address
Before we set your reverse DNS (PTR) record, that hostname must resolve forward to your VPS IPv4 address.
At your domain's DNS provider, create an A record pointing your hostname to your VPS IPv4 address. If you use a CDN proxy like Cloudflare, set that record to DNS only (unproxied) so it resolves directly to your VPS IP.
3. Verify the hostname resolves to your VPS
Run a lookup on your computer, replacing host.example.com with your hostname, to confirm the A record returns your VPS IPv4 address. If dig is missing on Ubuntu or Debian, install bind9-dnsutils first:
If it returns the wrong IP or no answer, fix the A record and wait for DNS propagation first.
4. Ask Support to set the PTR record
While your domain DNS provider manages the A record, Virtarix manages reverse DNS for our IP allocations. Open a support ticket from the owning account with your service ID, exact VPS IPv4 address and hostname, and note that the A record already points to that IP.
5. Confirm the IP resolves to your chosen hostname
Once Support confirms the change, replace the example IP and hostname below with your VPS IP and chosen hostname, then test both reverse and forward DNS from your computer:
In Windows nslookup output, the top Server/Address lines identify your DNS resolver; check the Name line for the PTR hostname.
Mail servers check reverse DNS as part of sender verification, but a PTR record alone does not unblock port 25 or guarantee inbox placement—configure SPF, DKIM and DMARC as well. See Port 25 restrictions and sending email from your VPS.
Frequently asked questions
Why must the hostname resolve to my IP first?
Mail servers expect forward-confirmed reverse DNS (FCrDNS), where the PTR hostname also resolves back to the same IP via an A record. Setting the A record first ensures they match immediately.
Is a PTR record enough to deliver email reliably?
No. Mail receivers also check SPF, DKIM, DMARC and sender reputation, and outbound port 25 requires separate approval.