Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th July 2006, 16:23
pesja pesja is offline
Member
 
Join Date: Jul 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISP Server as sec. dns and fallback mx mailserver

Hello,

I now have running and ISPConfig Hosting Server (ISP1) Almost everything (except munin and webalizer) is working fine. I want to configurate another ISPConfig Hosting Server (ISP2)

This second Hosting server will mainly function as and secundairy DNS server and as an fallback mailserver. So I imaged my ISP1 to another server and called it ISP2 (off course I replaced hostname, IP adresses etc.)

Everything, (except the above programms from the ISP1) is working fine. Also ISP2 as the second DNS server is working splendid on the testing domains.

Now the second job is to make the ISP2 server also working as an fallback mailserver for the domains of ISP2.

Can somebody help me with this?
Reply With Quote
Sponsored Links
  #2  
Old 15th July 2006, 23:45
jockstrap jockstrap is offline
Member
 
Join Date: Jul 2006
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Pesja,

A quick Question!

Does ISP2 automatically add the domains to the DNS when added to ISP1 or do you have to manually add each one? If automatic, how did you set this up?
Reply With Quote
  #3  
Old 16th July 2006, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Have a look here: http://www.howtoforge.com/traditional_dns_howto_p4 (MX Records)
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 16th July 2006, 16:35
pesja pesja is offline
Member
 
Join Date: Jul 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK Falco. I understand that part. MX 10 will be the prio 1 mailserver and MX 20 (or MX 100) will be the fallback mailserver.

Now my question is how to configurate the fallback mailserver. If I simplefy it into my own words: The fallback mailserver received the mail if de prio 1 mailserver is off-line. Now the fallback mailserver have to try to forward all the mails, normally sent to the prio 1 mailserver, let's say for several hours and if still no luck then rebound the mails to the original sender. So the fallback mailserver must have a sort of forwardfunction which know that the mails must forward to the prio 1 mailserver

It 's simple as I write it down but is it simple to configurate the fall-back mailserver?

Last edited by pesja; 16th July 2006 at 21:13.
Reply With Quote
  #5  
Old 17th July 2006, 15:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You don't have to configure anything else. The secondary MX looks at the DNS records and "knows" that it must forward the mails to the primary MX as soon as it's back online.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 17th July 2006, 22:05
pesja pesja is offline
Member
 
Join Date: Jul 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK Falco, I will test it this week.
Reply With Quote
  #7  
Old 3rd August 2006, 00:34
pesja pesja is offline
Member
 
Join Date: Jul 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tested like you said, although my feeling says that I had to configurate something at the fallback mailserver.

In my own words I think that the fallback mailserver must know some how that mails it receives (because the main mailserver is down) it must try deposit them to the original mailserver for an amount of hours (or until the main mailserver is up).

So I didn't worked out. and mails I sent to an adress engined by the main mailserver didn't arrived when it was down. So the fallback mailserver didn't received those mails and forward them.

Can anybody give me a clue?
Reply With Quote
  #8  
Old 3rd August 2006, 16:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Have a look here: http://www.akadia.com/services/postfix_mx_backup.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 15th August 2006, 11:31
jockstrap jockstrap is offline
Member
 
Join Date: Jul 2006
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Is it possible as Pesja says above to clone your primary ispconfig server - change hostname & ip and have it as an automated secondary dns?

IE: when you add a new domain to isp1 then the dns in ISP2 will automatically be configured as secondary for that zone!

or does the addition of secondary dns zone have to be a manual process where you add it to isp2 manually ?

Any advice on how to setup an automated secondary dns for ispconfig would be appreciated.
Reply With Quote
  #10  
Old 16th August 2006, 16:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by jockstrap
IE: when you add a new domain to isp1 then the dns in ISP2 will automatically be configured as secondary for that zone!
Just install ISPConfig on your second server (using the normal installation procedure), and then have a look at this tutorial: http://www.howtoforge.com/ispconfig_dns_godaddy
It has all the details you need.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.