Answers·Network and servers
Can I set reverse DNS on my Switzerland Hosting server?
Yes: each IPv4 in ALP1 takes your own PTR. How to set it, verify FCrDNS and keep mail out of spam.
Short answer
YesYes. The main IPv4 address of every Cloud VPS and dedicated server in ALP1 can carry a PTR record pointing to a hostname you choose: you enter it under Reverse DNS in the server's network section of the client panel, and our team applies it. For an extra address ($2 a month), request the PTR in a support ticket from the client panel. Whether the record does you any good depends on one thing on your side: the hostname has to resolve back to the same address, because that round trip is what receiving mail servers check.
Deploy a server in ALP1- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- Swiss law governs every server
- Outside the EU, EU-adequate data law
- DMCA notices: no direct legal effect
- Foreign requests go through a Swiss authority
- No KYC: an email address is enough
01/04
Why the record lives with us and not in your zone.
A forward record such as mail.example.com sits in your own zone, wherever you host DNS. A reverse lookup for 203.0.113.10 asks for 10.113.0.203.in-addr.arpa, a name in the reverse tree defined in RFC 1035, and that tree is delegated from the regional registry down to whoever operates the address block. For the addresses on your server, that is us. No amount of access to your registrar's control panel lets you publish a PTR for our address space; the record has to be written into our reverse zone, which is why it goes through us rather than through your DNS provider.
Until you set your own, the PTR of a new address does not name your domain. For a web server or a VPN endpoint that is fine. Nobody loading your site looks at the PTR, and neither SSH nor HTTPS cares what it says.
02/04
Who checks it, and how strictly.
Mail is where reverse DNS stops being cosmetic. A receiving server takes the IP of the connecting client, looks up its PTR, then looks up the A record of the name it got back and compares the two addresses. This is forward-confirmed reverse DNS (FCrDNS), and RFC 1912 was already telling operators to keep PTR and A records consistent in 1996. Since 1 February 2024 Google requires it of every sender delivering to Gmail, not only bulk senders: the sending IP needs a PTR, and the hostname in it must have a forward record pointing at that same IP. Yahoo's sender guidance goes a step further and asks for a PTR that is meaningful rather than generic, which in practice means a name that reads like a mail host under your domain, not a string of digits under ours.
Smaller receivers enforce the same thing in their MTA configuration. In Postfix, reject_unknown_reverse_client_hostname refuses clients with no PTR at all, and the stricter reject_unknown_client_hostname refuses any client whose PTR and A record do not agree. Plenty of self-run mail servers on the other end of your messages have one of those in smtpd_client_restrictions. None of this depends on where you or your recipients are, in Europe, the US or Latin America: the check runs on the receiving server, and Google and Yahoo apply one set of rules whether the sender sits in the Swiss Alps or in Ohio.
| What the receiver finds | Likely outcome |
|---|---|
| No PTR | Rejected by strict MTAs; Gmail may refuse the message or file it as spam |
| Generic PTR under the provider's domain | Accepted by some receivers, scored as suspicious by many |
| PTR set, but the name has no matching A record | Fails FCrDNS; strict checks treat it as if there were no PTR |
| PTR and A record match, MTA greets with the same name | Passes; the message is then judged on SPF, DKIM, DMARC and IP reputation |
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/04
Setting it up so it passes.
Pick the hostname first, under a domain you control; mail.example.com is the conventional choice. It does not have to match the domain in your From: headers. A server sending for a dozen domains has one PTR, and Gmail and Yahoo are content as long as each of those domains has its own SPF and DKIM in order.
Create the A record at your DNS provider before you touch the PTR, so there is no window in which the reverse name points at something that does not resolve. Then set the PTR under Reverse DNS in the server's network section of the client panel, and make your MTA announce the same name in its SMTP greeting. In Postfix that is myhostname = mail.example.com in main.cf; in Exim it is primary_hostname. A HELO name matching the PTR is not a hard requirement at Gmail, but some filters score a mismatch and there is no reason to hand them one.
Check from outside your own resolver, because a local cache will happily show you the old answer:
$ dig +short -x 203.0.113.10 @1.1.1.1
mail.example.com.
$ dig +short A mail.example.com @1.1.1.1
203.0.113.10If the first command still returns the old name, resolvers are holding the previous record until its TTL expires. dig +trace -x 203.0.113.10 walks the delegation from the root, skips the caches, and shows what our authoritative servers publish at that moment.
04/04
What it means for your setup.
If you run mail on a Cloud VPS, outbound port 25 is open on every plan, so nothing between your server and the recipient filters the traffic except the DNS you publish. Set the PTR before the first message leaves. Starter ($6.99 a month, 2 vCPU, 2 GB) is enough for Postfix, Dovecot and rspamd serving a handful of domains; ClamAV's signature database alone wants over a gigabyte of RAM, and roughly twice that while it reloads, so with ClamAV take Standard's 4 GB ($12.99). The caveat we owe you is that correct reverse DNS gets you past the first gate and no further. A newly assigned address has no sending history at Google or Microsoft, and it earns one only by sending modest volumes with few complaints over several weeks. The sending side is covered in our answer on port 25.
On a dedicated server that carries websites and mail together, give the mail its own address. An extra IPv4 costs $2 a month on either product line (current figures on pricing) and gives mail its own PTR and its own reputation. A compromised WordPress plugin spraying junk from the web IP then lands that IP on a blocklist, not your mail host.
If you came to us for privacy, keep in mind that a PTR is public by design. We open accounts on no-KYC terms, where an email address is enough, yet anyone can run dig -x against your IP and read the domain you put there, and passive DNS services record those answers and keep the history after you change them. A PTR naming your domain is a link you publish yourself. If the server does not send mail, leaving the default in place is a perfectly reasonable choice, and the one we would make; the offshore hosting page sets out what Swiss jurisdiction does and does not change for the rest of your setup.
ALP1 · Swiss Alps
Run it on a server in ALP1, under Swiss law.
10 Gbps unmetered on dedicated servers·No KYC·Paid in crypto
FAQ
Questions around this answer.
Short answers to what people ask next. If yours is not here, open a ticket from your panel.
Can one IP address have several PTR records?
DNS allows it, but a receiver doing FCrDNS takes one answer and checks only that, so the outcome becomes unpredictable. Keep one PTR per address. If you need a second mail hostname, take a second IPv4 at $2 a month and give it its own record.
Does the PTR have to match my email domain?
No. It has to be a real hostname whose A record returns the same address. The domains in your From: headers are authenticated separately, through SPF, DKIM and DMARC.
What about IPv6?
The Reverse DNS field in the client panel sets the PTR of your main IPv4 address. Do not let your MTA send over IPv6 from an address that has no PTR, because Gmail runs the same forward-and-reverse check over IPv6. In Postfix, inet_protocols = ipv4 keeps the server off IPv6 entirely, while smtp_address_preference = ipv4 only makes it try IPv4 first.
Do I need reverse DNS if the server never sends mail?
Rarely. Web, SSH and VPN traffic work the same with a generic PTR or none. A few services, such as some IRC networks, look up the connecting host's name, and log files read more easily with a meaningful name, but neither justifies publishing your domain against the address if you would rather not.
Sources
Every fact on this page, with its source
Consulted 5 Nov 2026 unless noted.
Other references
- RFC 1035, Domain Names — Implementation and Specification, §3.5 (IN-ADDR.ARPA domain), November 1987rfc-editor.org
- RFC 1912, Common DNS Operational and Configuration Errors, §2.1 (matching PTR and A records), February 1996rfc-editor.org
- Google, Email sender guidelines — forward and reverse DNS required for all senders to Gmail from 1 February 2024, forward record may be A or AAAA; consulted 5 November 2026support.google.com
- Yahoo Sender Hub, Sender best practices — meaningful, non-generic PTR for all sending IPs; consulted 5 November 2026senders.yahooinc.com
- Postfix, postconf(5) — reject_unknown_reverse_client_hostname, reject_unknown_client_hostname, smtp_address_preference, inet_protocols; consulted 5 November 2026postfix.org
- Switzerland Hosting catalogue (Cloud VPS and dedicated server prices, extra IPv4, port 25 policy), owner decisions of 1 November 2026Switzerland Hosting
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
