[Freeswitch-users] mod_xml_cdr DNS
Nazim Aghabayov
nazim.aghabayov at gmail.com
Tue Apr 6 04:39:54 PDT 2010
Agree, load balancer is better. It seems that libcurl doesn't respect
DNS RR.
On 04/06/2010 05:47 AM, Rob Forman wrote:
> Sounds like something more appropriate for a load balancer, such as
> lvs (http://www.linuxvirtualserver.org/).
>
> DNS round robin also can't detect failure and stopping routing
> requests to the node, while a tool like lvs could.
>
>
> On Mon, Apr 5, 2010 at 4:01 PM, Nazim Aghabayov
> <nazim.aghabayov at gmail.com <mailto:nazim.aghabayov at gmail.com>> wrote:
>
> Most probably RR is not working for CNAME. You should really try:
>
> cdr.mydomain.com <http://cdr.mydomain.com>. IN A 10.10.10.1
> cdr.mydomain.com <http://cdr.mydomain.com>. IN A 10.10.10.2
>
>
>
> On 04/06/2010 12:47 AM, Justin B Newman wrote:
> > I have mod_xml_cdr set with a url to POST entries to.
> >
> > The DNS record is something along the lines of:
> >
> > cdr.mydomain.com <http://cdr.mydomain.com>. 600
> IN CNAME mydomain.com <http://mydomain.com>.
> > mydomain.com <http://mydomain.com>. 600 IN A
> 10.10.10.1
> > mydomain.com <http://mydomain.com>. 600 IN A
> 10.10.10.2
> >
> > Only one of the two web servers is receiving any POSTs.
> >
> > I tried adding "curl_easy_setopt(curl_handle,
> > CURLOPT_DNS_CACHE_TIMEOUT, 0);" to mod_xml_cdr.c, to no avail.
> >
> > Any ideas?
> >
> > -jbn
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100406/1fd70fc8/attachment.html
More information about the FreeSWITCH-users
mailing list