atom feed34 messages in net.sourceforge.lists.courier-users[courier-users] Re: MX lookup
FromSent OnAttachments
Lukas VeselyJul 29, 2002 8:39 am 
Sam VarshavchikJul 29, 2002 2:20 pm 
Lukas VeselyJul 30, 2002 7:59 am 
Sam VarshavchikJul 30, 2002 2:30 pm 
Johannes ErdfeltJul 30, 2002 3:02 pm 
Juha SaarinenJul 30, 2002 3:20 pm 
Sam VarshavchikJul 30, 2002 3:21 pm 
Johannes ErdfeltJul 30, 2002 3:32 pm 
Sam VarshavchikJul 30, 2002 5:35 pm 
Juha SaarinenJul 30, 2002 6:03 pm 
Juha SaarinenJul 30, 2002 6:13 pm 
Johannes ErdfeltJul 30, 2002 6:20 pm 
Johannes ErdfeltJul 30, 2002 6:37 pm 
Sam VarshavchikJul 30, 2002 6:47 pm 
Johannes ErdfeltJul 30, 2002 7:20 pm 
Tabor J. WellsJul 30, 2002 7:31 pm 
Sam VarshavchikJul 30, 2002 7:46 pm 
Juha SaarinenJul 30, 2002 8:05 pm 
Bill MichellJul 31, 2002 1:30 am 
Lukas VeselyJul 31, 2002 6:51 am 
Johannes ErdfeltJul 31, 2002 8:43 am 
Johannes ErdfeltJul 31, 2002 8:48 am 
Ben RosengartJul 31, 2002 9:23 am 
Moshe GurvichJul 31, 2002 9:32 am 
Lukas VeselyJul 31, 2002 9:36 am 
Lukas VeselyJul 31, 2002 9:36 am 
Lukas VeselyJul 31, 2002 9:36 am 
Lukas VeselyJul 31, 2002 9:36 am 
Lukas VeselyJul 31, 2002 10:12 am 
Anand BuddhdevJul 31, 2002 10:17 am 
Johannes ErdfeltJul 31, 2002 10:31 am 
Sam VarshavchikJul 31, 2002 2:41 pm 
Lukas VeselyAug 1, 2002 10:16 am 
Luc BrouardAug 6, 2002 12:34 pm 
Subject:[courier-users] Re: MX lookup
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jul 30, 2002 6:47:42 pm
List:net.sourceforge.lists.courier-users

Johannes Erdfelt writes:

if the browser fails over to the other A record if it chooses the non-functioning IP address the first time.

It won't.

Here's another experiment: set up two NS records for a domain, with only one of them functioning. Try to query a name belonging to that zone a couple of times. See if you get a valid answer back.

What's going to happen is that even if the first couple of times you fail to resolve, from that point on, as long as the queries keep coming, they will resolve. The forwarder will attempt to refresh the zone way before it expires, and unless the zone timeouts are wacky, it's a sure bet that the forwarder will hit the working nameserver again before the zone expires, and the refresh its local cache.

Looking at the code, it doesn't look like it'll be too difficult to fix so I'll give a stab at it.

It's not. It's only two lines of code that must be removed in order to try every relay on the MX list. The argument for NOT removing these two lines is that if you've got a completely dead domain with a crapload of listed MXs it's going to take a loooooong time for each message to be thrown back into the queue and rescheduled, since each one of these MXs will have to be tried, and timed out.

I believe that it's far more preferable to have some messages take two or three tries to get through, then to have a constipated mail queue when the primary circuit to hotmail.com goes down. In the past I've found an amazing correspondence between proper DNS setup, and the overall competence of the same organization. Chances are that if someone takes diligent care to properly set up DNS -- with explicitly designated fallback MXs -- then they have a contigency plan for all sorts of emergencies, with any unavoidable downtimes being as brief as possible.

Although there are other things that will prevent a dead circuit to hotmail.com from plugging up the entire queue, it's still better to minimize the degree of pluggage as much as possible.