[asterisk-users] asterisk fails when DNS or internet fails

Dovid Bender asteriskusers at dovid.net
Tue May 31 23:44:33 CDT 2011


----- Original Message ----- 
From: "Olle E Johansson" <oej at edvina.net>
To: "Benny Amorsen" <benny+usenet at amorsen.dk>
Cc: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Tuesday, May 31, 2011 16:17
Subject: Re: [asterisk-users] asterisk fails when DNS or internet fails


>
> 31 maj 2011 kl. 14.49 skrev Benny Amorsen:
>
>> Jeff LaCoursiere <jeff at sunfone.com> writes:
>>
>>> Hasn't anyone managed to solve this with something better than a
>>> caching DNS server, which seems to only last a short while?  What
>>> exactly is going on that is failing?
>>
>> If your recursive DNS server returns errors quickly rather than actually
>> trying to look up the names, Asterisk works fine.
>>
>> It is not a particularly nice workaround, but it does work... As long as
>> Asterisk does not actually NEED the DNS information, but that can be
>> most worked around with static configuration of IP addresses in sip.conf.
>>
>
> Longterm we should really integrate an Asynchronus DNS library, like 
> C-Ares.
>
> I've been wanting to do that for years.
>
> /O
>

Ole,

So what are you waiting for ;) ?






More information about the asterisk-users mailing list