DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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:
  #1  
Old July 22nd, 2012, 10:18 AM
abhishin72 abhishin72 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 1 abhishin72 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 24 sec
Reputation Power: 0
DNS(MX) load balancing mechanism?????

Hi Team,

I’m testing my MTA performance with DNS(MX) load balancing mechanism which is responsible for, only to receive email from external domains.

For that matter, I'm using Exchange server 2007 Journaling to send emails to MTAs which are configured in DNS(MX) load balancing cluster,

Configuration settings:-
A.com:
Exchange server 2007 Journaling(Global-all Messages) with DNS(MX) setting for Send Connectors to relay emails to B.com
DNS forwarders: added B.com DNS address

B.com:
Configured with following DNS(MX) load balancing settings,
Two MTA servers having A & MX record created with preference value 10 as shown below,
zone file fragment:
IN MX 10 mail.B.com.
....
mail IN A 192.168.124.4
mail IN A 192.168.124.5

Issue/Query:-
The issue I’m seeing with DNS(MX) is, emails are relaying to single server only for a period time & then gets switch to the second server & vice versa..i.e. asynchronous balancing.

e.g. if suppose in 1 minute Exchange send 1000 emails to the MTAs, then all the emails are relaying to 1st server rather distributing between both of them.

If I run netstat command on the exchange server then it shows only one connection established with the MTA, either with 1st or 2nd server.

What I am looking for:-
Email traffic should get distribute equally. e.g. if exchange send 100 emails per minute to DNS(MX) load balancing MTAs, then emails should get distribute in scale of 50-50 ~ per minute, rather relaying to only one server.

Is this a normal behaviour of DNS(MX)? or there is any workaround to distribute the load equally?
Does exchange causing the problem as its making only 1 connection?
Kindly suggest, if there is any other MS solution which will distribute the email traffic in 50-50~ scale?

Thanks in advance!

Reply With Quote
  #2  
Old July 27th, 2012, 02:09 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
The short answer is that there is not a way to do reliable DNS load balancing. A server sending to you will do an MX record lookup. Usually it will take the lowest weighted MX record and do an A record lookup. From that point your DNS server will answer with whatever A records there are for that hostname. The sending server will pick one of the A records (usually whichever one was listed first) and send mail to it until the record expires on their DNS. Best way to keep it as balanced as possible is to keep the TTL down really low. But that will also increase the amount of traffic to your DNS server.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS(MX) load balancing mechanism?????

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap