<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Agree, load balancer is better. It seems that libcurl doesn't respect
DNS RR.<br>
<br>
On 04/06/2010 05:47 AM, Rob Forman wrote:
<blockquote
cite="mid:s2oe15d328c1004051747v75bf5616r618a927f28bf9e@mail.gmail.com"
type="cite">Sounds like something more appropriate for a load
balancer, such as lvs (<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:nazim.aghabayov@gmail.com">nazim.aghabayov@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Most
probably RR is not working for CNAME. You should really try:<br>
<br>
<a moz-do-not-send="true" href="http://cdr.mydomain.com"
target="_blank">cdr.mydomain.com</a>. IN A 10.10.10.1<br>
<a moz-do-not-send="true" href="http://cdr.mydomain.com"
target="_blank">cdr.mydomain.com</a>. IN A 10.10.10.2<br>
<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 moz-do-not-send="true" href="http://cdr.mydomain.com"
target="_blank">cdr.mydomain.com</a>. 600 IN
CNAME <a moz-do-not-send="true" href="http://mydomain.com"
target="_blank">mydomain.com</a>.<br>
> <a moz-do-not-send="true" href="http://mydomain.com"
target="_blank">mydomain.com</a>. 600 IN A
10.10.10.1<br>
> <a moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>