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!

Can you recommend me a DNS configuration for this setup?

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

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    320
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice