DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 26th, 2002, 05:46 AM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Redundant Mail server

Hi,

I have a server that at the moment keeps falling over - I have another server with a different ISP with the same mail config on it. All Windows BTW, running Imail 7.

Now I want to setup the second email server to be redundant for the first so if it fallsover it just swtiches to that one.

All our clients use - pop3.domain.com and smtp.domain.com - and
MX[0] goto POP3

Now I obviously want the smtp and pop3 a records to change to a different IP address for the redundant server if the primary server goes down the MX records can then stay the same.

But how do I do this in DNS.

Pretty much want to do this with my Web and database stuff also.

Then I want to set up nameservers of my own and leave host one behind.

BTW never use - http://www.interhost.co.uk/ my server has been down all weekend and he is not answering his phone.

Thx
__________________
_________________________
Triangle Solutions Ltd
http://www.triangle-solutions.com/

Reply With Quote
  #2  
Old October 26th, 2002, 12:09 PM
antibob antibob is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 43 antibob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 34 sec
Reputation Power: 6
here is what I think.

my understanding of this would be to simply addmultiple MX records in your dns.

The first dns record will have priority, then second then third. this works with "A" records too.

-ab
http://www.diywebserver.com


ps. I am not sure what you meant by this: "Then I want to set up nameservers of my own and leave host one behind."

Reply With Quote
  #3  
Old October 27th, 2002, 01:24 AM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Thank Bob,

Yes htis is what i suspected you can set up MX[0] MX [1] etc but do they actually take it in order? Seems so, so that answers part one I will test that.

however with A records how does it know the order? Does it just have to be further up the list or can you specify an order like with mx records.

Also yes I want to set up my own nameservers but am having real difficulties understabding the whole thing.

This will definatley help for now - but adds more hops to my servers than is required and adds failure points with a host I dont want to use.

Thx

Reply With Quote
  #4  
Old October 27th, 2002, 11:40 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 26 m 13 sec
Reputation Power: 797
There is a priority number associated with each MX record. The priority number controls the order in which the mail servers will be accessed.

There is NO priority number for an A record, so you can't simply tell it to hop to a different server.

Reply With Quote
  #5  
Old October 27th, 2002, 10:24 PM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Hi,

Would this work then:

User A comes in on pop3.domain.com to download there emails.

Now I have two email servers at 125.0.0.1 and 125.0.0.2

.1 is down so I need it to direct to .2 I set up the DNS as follows as far as I can see then this is how I do it. It tries the mani MX 0 and fails so looks for second highest record MX 10 so it now knows the ip adress of the mail server in question - however as I need it to go to pop3 port on server .2 will it follow the same rule - ie first pop3 record is fail find another one and try?

pop3 IN A 125.0.0.1
smtp IN A 125.0.0.1
IN MX 0 125.00.0.1
IN MX 10 125.0.0.2
pop3 IN A 125.0.0.2
smtp IN A 125.0.0.2

Thx for any assistance on this.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Redundant Mail server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway