[asterisk-users] R: No Internet, no asterisk

Ron Arts ron.arts at neonova.nl
Wed Apr 20 05:24:20 CDT 2011


Op 20-04-11 01:07, Matt Riddell schreef:
> On 20/04/11 1:58 AM, Mark Deneen wrote:
>> 2011/4/19 Niccolò Belli<darkbasic4 at gmail.com>:
>>> Il 18/04/2011 12:22, Alexandru Oniciuc ha scritto:
>>>> Disable DNS lookups. Chan_sip crashes asterisk if you have that enabled and internet is offline.
>>>
>>> srvlookup = no didn't help.
>>>
>>> What about putting my provider's name in /etc/hosts?
>>> Should it solve the problem?
>>>
>>> A caching nameserver is not a viable solution because I want it working
>>> even after a month without internet access.
>>
>> Wouldn't a caching nameserver just return NXDOMAIN if it couldn't
>> contact the authoritative server for that domain?
>
> It should do - the problem (AFAIK) is that Asterisk is unable to contact the DNS server, not that it doesn't return a result it likes.
>

Or asterisk needs to wait for the DNS server to return something. I think in
some cases a caching nameserver consults an upstream DNS server, and
waits too long for the upstream server to return an answer, before
getting back to asterisk.

Ron





More information about the asterisk-users mailing list