Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Posts
    239

    Reverse DNS (mail setup)

    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.

  2. #2
    Join Date
    Apr 2002
    Posts
    1,789
    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.

  3. #3
    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.
    | LinuxHostingSupport.net
    | Server Setup | Security | Optimization | Troubleshooting | Server Migration
    | Monthly and Task basis services.
    | MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux

  4. #4
    Join Date
    Mar 2007
    Posts
    239
    Quote Originally Posted by madaboutlinux View Post
    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.
    Thanks, I managed to get it working :-)

Similar Threads

  1. this ip has no reverse DNS entry; some mail servers may not accept your mail.
    By robocap in forum Hosting Security and Technology
    Replies: 6
    Last Post: 07-23-2007, 09:02 AM
  2. Reverse dns and smarter mail issue
    By quantim in forum Hosting Security and Technology
    Replies: 3
    Last Post: 05-10-2006, 05:18 PM
  3. Add a reverse lookup for mail server
    By Salvatore in forum Dedicated Server
    Replies: 4
    Last Post: 06-03-2003, 10:54 AM
  4. Reverse DNS and mail
    By chrisb in forum Web Hosting
    Replies: 4
    Last Post: 06-26-2002, 01:25 PM
  5. Mail Server Reverse DNS entry
    By Sketch in forum Dedicated Server
    Replies: 1
    Last Post: 05-21-2002, 06:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •