Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can you recommend me a DNS configuration for this setup?

Discussion in 'Bind / DNS / Nameserver Issues' started by albatroz, Jul 8, 2017.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    289
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I have setup a CPanel server where I will host 2 domains that will be used for sending bulk emails of a government agency. However I would like to be able to change the IPs in case any of the IPs become blacklisted.

    The problem comes from the fact that I am using a third party DNS server. How can I do to have this work with the 2 domains that I will use. Is there some kind of domain delegation that I can do?
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Can you go into detail in terms of why you think there is an issue with using a 3rd party DNS server? This wouldn't cause any problems at all.

    Simply create your forward DNS records at your 3rd party DNS server, meaning assign each additional IP an A record to point to a hostname.

    Ask your host to configure the rDNS for each IP to match what you've set at the 3rd party DNS server, and then in:

    Exim Configuration Manager

    Enable both options:

    Reference /etc/mailhelo for outgoing SMTP HELO
    Reference /etc/mailips for outgoing SMTP connections

    Save

    Then setup your first IP, in /etc/mailips:

    Code:
    *: 1.1.1.1
    and in /etc/mailhelo:

    Code:
    *: mail1.domain.com
    If 1.1.1.1 gets blacklisted, you would simply change the IP and hostname in the files shown above.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page