Eric Bishop
2006-Sep-26 05:32 UTC
[asterisk-users] How can I stop lost DNS from killing Asterisk?
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? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060926/7433392f/attachment.htm
Eric "ManxPower" Wieling
2006-Sep-26 05:42 UTC
[asterisk-users] How can I stop lost DNS from killing Asterisk?
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?
Rich Adamson
2006-Sep-26 06:30 UTC
[asterisk-users] How can I stop lost DNS from killing Asterisk?
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.
Rich Adamson
2006-Sep-26 06:31 UTC
[asterisk-users] How can I stop lost DNS from killing Asterisk?
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.
Raphaƫl Jacquot
2006-Sep-26 06:57 UTC
[asterisk-users] How can I stop lost DNS from killing Asterisk?
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.you can also install a non-crashing DNS server ;D
Eric "ManxPower" Wieling
2006-Sep-26 08:06 UTC
[asterisk-users] How can I stop lost DNS from killing Asterisk?
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.