< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [repro-devel] SRV and load balancing - is it supposed to work?


On first glance, I think the load-balancing won't do what you're expecting if you just use zeros in the weight field. Use ones and see if that works.

Best regards,
Byron Campen

Hi Byron,
 
Below is the zone file (the IPs are actually real IPs) . What do you mean by “flow tokens” – I have the DNS lbproxy.net as my static next hop route.
 
lbproxy.net.       IN NAPTR 0  0  "s"  "SIP+D2U"      ""  _sip._udp. lbproxy.net.
 
_sip._udp.lbproxy.net.     IN      SRV 0 0 5060 term1
_sip._udp.lbproxy.net.     IN      SRV 0 0 5060 term2
_sip._udp.lbproxy.net.     IN      SRV 0 0 5060 term2
_sip._udp.lbproxy.net.     IN      SRV 0 0 5060 term4
 
term1           IN      A       60.60.60.1
term2           IN      A       60.60.60.2
term3           IN      A       60.60.60.3
term4           IN      A       60.60.60.4
 
 
Thanks,
Brocha

From: Byron Campen [mailto:bcampen@xxxxxxxxxxxx] 
Sent: Tuesday, February 05, 2008 10:25 PM
To: Brocha Strous
Cc: repro-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [repro-devel] SRV and load balancing - is it supposed to work?
 
            What does your zone-file look like? You probably aren't getting what you expect unless you're using a NAPTR record too. Also, make sure this isn't a result of repro routing according to flow-tokens (in Route headers).
 
Best regards,
Byron Campen

Hello,
I wanted to use an SRV record to define 3 possible IPs to which a given DNS resolves and to assign them equal weights so that they will be load-balanced. Repro seems to always send to the same IP (I see it sending the SRV query and receiving the correct response). Is load-balancing supposed to work?
Thanks,
Brocha
_______________________________________________
repro-devel mailing list
 

Attachment: smime.p7s
Description: S/MIME cryptographic signature