[asterisk-users] Asterisk very slow when internet down

Christoph Fürstaller christoph.fuerstaller at kurtkrenn.com
Mon Jan 29 04:20:04 MST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

For that I've set up a local DNS Cache (on the asterisk) - maradns. And
entered 127.0.0.1 as the first DNS Server in d/etc/resolv.conf.

To decrease the time asterisk is trying to do a dns lookup, I've added
this options to /etc/resolv.conf:
options timeout:2 attempts:1


Chris...

Paul Hales schrieb:
> Sadly, people have reported this fairly regularly.
> 
> An option is to hard-code the server and IP address in your hosts file,
> but this can be even worse when the provider changes the IP address of
> the server...
> 
> later,
> 
> PaulH
> 
> On Thu, 2007-01-25 at 22:27 +1030, Peter Mitchell wrote:
>> Has anyone seen this issue with asterisk running like a dog when the
>> internet is down ?  Internal calls, incoming ISDN calls etc all seem
>> to be affected.  There is a local DNS server that is always available
>> so I’m not sure why asterisk is so unresponsive.
>>
>>  
>>
>> I’ve seen this on two different systems, and on 1 of them I commented
>> out my SIP providers in sip.conf and it ran ok again.
>>
>>  
>>
>> Thanks
>>
>> Peter.
>>
>>
>>
>> --
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.1.410 / Virus Database: 268.17.10/651 - Release Date:
>> 24/01/2007
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvdhkR0exH8dhr/YRArthAJoCClafg82Xa+yJ4Mrk5c4Fx4os6QCeMRY2
8WHJK20Aac8ZdQrcM0OmHww=
=lIFj
-----END PGP SIGNATURE-----


More information about the asterisk-users mailing list