Adding second TLD mail record

Discussion in 'Installation/Configuration' started by CSsab, Sep 1, 2011.

  1. CSsab

    CSsab New Member

    Hi,
    I want to add a second domain to my setup.

    My domains are called:

    host.example1.com
    host.example2.com


    I have added zone and records for example2.com to DNS on ns1.example1.com and ns2.example1.com

    My second domain is on a different server node (host2.example1.com) with a different mail server.

    All works well except my mx record for the second domain I added.

    In the above scenario what do I put in the domain alias part of ISPConfig here?

    Currently the results of my DNS testing for the second domain are:
    mail.example2.com -> mail.example1.com -> 111.222.333.444 (myip) -> example1.com
    And that looks wrong.

    Any explanation appreciated.
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Nothing, do not add anything in the email part of ispconfig for that domain if the ispconfig server is not your mailserver. Just add a dns MX record that points to the hostname of the external mailserver that you want to use for that domain.
     
  3. CSsab

    CSsab New Member

    Hi till thanks for your quick reply.

    I have a second mail server and it has ISPConfig installed and joined to the master so I am a little bit confused.

    What do I do on the master if my second mail server with different domain name in the mail record as described above.

    :confused:
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ahh, ok :)

    1) Add a dns mx record that points to the hsotname of the second server.
    2) Add the domain as new email domain (not as alias) and select the second server in the server option field while you add the email domain.
    3) Add mailboxes for the new domain.
     
  5. CSsab

    CSsab New Member


    Do I add the mx record into the zone records of the new zone I added?

    Do I add an A record to the records of the TLD 1 zone also for the hostname of the second mail server?

    Thanks for your patience.
     

Share This Page