[asterisk-users] How can I stop lost DNS from killing Asterisk?

Eric "ManxPower" Wieling eric at fnords.org
Tue Sep 26 08:06:48 MST 2006


Rich Adamson wrote:
> Eric "ManxPower" Wieling wrote:
>> Use IP addresses instead of hostnames in your Asterisk config.  It 
>> sucks, but that is the only way I know of.
>>
>> Eric Bishop wrote:
>>> When we loose Internet access (DNS) Asterisk basically halts until 
>>> Internet
>>> comes up even for internal registrations and calls. We are even 
>>> running a
>>> caching DNS server on the Asterisk box but this does not seem to 
>>> help. Any
>>> suggestions?
> 
> Using IP addresses only does not fix the problem as the asterisk system 
> does not know who he is. Need to define him in /etc/hosts as well, then 
> it works just fine.

A correctly set up system would already have that info in /etc/hosts, 
but it is a good thing to check because most systems are not correctly 
set up.


More information about the asterisk-users mailing list