[asterisk-users] asterisk fails when DNS or internet fails
Olle E Johansson
oej at edvina.net
Tue May 31 08:17:36 CDT 2011
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
More information about the asterisk-users
mailing list