Sounds like something more appropriate for a load balancer, such as lvs (<a href="http://www.linuxvirtualserver.org/">http://www.linuxvirtualserver.org/</a>).<br><br>DNS round robin also can't detect failure and stopping routing requests to the node, while a tool like lvs could.<br>
<br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 4:01 PM, Nazim Aghabayov <span dir="ltr"><<a href="mailto:nazim.aghabayov@gmail.com">nazim.aghabayov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Most probably RR is not working for CNAME. You should really try:<br>
<br>
<a href="http://cdr.mydomain.com" target="_blank">cdr.mydomain.com</a>. IN A 10.10.10.1<br>
<a href="http://cdr.mydomain.com" target="_blank">cdr.mydomain.com</a>. IN A 10.10.10.2<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On 04/06/2010 12:47 AM, Justin B Newman wrote:<br>
> I have mod_xml_cdr set with a url to POST entries to.<br>
><br>
> The DNS record is something along the lines of:<br>
><br>
> <a href="http://cdr.mydomain.com" target="_blank">cdr.mydomain.com</a>. 600 IN CNAME <a href="http://mydomain.com" target="_blank">mydomain.com</a>.<br>
> <a href="http://mydomain.com" target="_blank">mydomain.com</a>. 600 IN A 10.10.10.1<br>
> <a href="http://mydomain.com" target="_blank">mydomain.com</a>. 600 IN A 10.10.10.2<br>
><br>
> Only one of the two web servers is receiving any POSTs.<br>
><br>
> I tried adding "curl_easy_setopt(curl_handle,<br>
> CURLOPT_DNS_CACHE_TIMEOUT, 0);" to mod_xml_cdr.c, to no avail.<br>
><br>
> Any ideas?<br>
><br>
> -jbn<br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>