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

Rich Adamson radamson at routers.com
Tue Sep 26 06:29:49 MST 2006


Eric Bishop wrote:
> Hi All,
> 
> 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?

We just went through the same problem. You need both a caching dns 
server, and, define your asterisk system in /etc/hosts so he knows who 
he is.

I've tested this several times as we use a laptop to demo asterisk and 
several of these demo's don't have any internet access. (And, you're 
right, asterisk does not process any calls.) With dns caching and the 
/etc/hosts definition in place, it now works everywhere.



More information about the asterisk-users mailing list