Knowledgebase

Reverse DNS (mail setup)

Posted by Zaggs, 10-19-2009, 04:34 PM
Hi guys, I am trying to setup reverse DNS on my server. I have 3 IP's. 1 main physical IP and 2 failover IP (ip aliases) that point to the main IP. I have setup mydomain.com and created the following DNS entries for it: mail.mydomain.com. A xx.121.xx.79 mail.mydomain.com. A xx.23.xx.227 mail.mydomain.com. A xx.23.xx.228 Questions: 1) Do i need to create 3 mail entries in the dns if I wish to run mail on each ip? 2) How can I setup reverse DNS? Thanks in advance.

Posted by SPaReK, 10-19-2009, 05:02 PM
What IP address or addresses are going to be sending out mail? Another words, if you send out an e-mail, what IP address is the recipient mail server going to see that message coming from? Reverse DNS should work such that an IP address (aa.bb.cc.dd) resolves to a hostname (host.name.com) and then that hostname (host.name.com) resolves back to the original IP address (aa.bb.cc.dd). Reverse DNS is done by whoever has delegation access to the IP zone record. Usually this is your datacenter provider.

Posted by madaboutlinux, 10-19-2009, 06:16 PM
By default emails are sent out from the main IP address of the server, normally it's eth0. So in this case, you need a rDNS only for the main IP. If you have configured to send out emails from each of your IP (the option is provided on cPanel servers to send out emails from the IPs that are assigned as dedicated IPs), so in this case, you will need to set rDNS for each of the IP. Make sure the hostname should be pointing to the main IP address of the server as that is the IP from where the emails are sent by default. The IP should point back to the hostname in order for the emails to work properly. BTW, rDNS is normally set by the Data Center ppl, so contact your hosting company.

Posted by Zaggs, 10-20-2009, 03:53 AM
Thanks, I managed to get it working :-)



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Speed up a VPS (Views: 578)
BuyaVPS Information (Views: 696)
virus on linux (Views: 547)


Language:

Client Login

Email

Password

Remember Me

Search