Eric Bishop
2005-Jun-20 14:56 UTC
[Asterisk-Users] Asterisk does not function without a DNS server
Hi all, We have our Asterisk server running smoothly with a SIP BRI gateway for inbound calls. However if the Internet connection goes down and a DNS server becomes unreachable Asterisk basically does not function. By this I mean it does not answer call coming in from the gateway (which is on the local LAN) and you can't even reload it - just hangs there. If I change the DNS setting in resolv.conf to something else which is reachable all is well again. I have tried setting srvlookup=no in sip.conf but it made no difference. Does anyone know how I to make Asterisk continue working for local LAN users/gateways when a DNS server is not reachable?
dsr@tao.merseine.nu
2005-Jun-21 03:59 UTC
[Asterisk-Users] Asterisk does not function without a DNS server
On Tue, Jun 21, 2005 at 07:56:29AM +1000, Eric Bishop wrote:> We have our Asterisk server running smoothly with a SIP BRI gateway > for inbound calls. However if the Internet connection goes down and a > DNS server becomes unreachable Asterisk basically does not function. > By this I mean it does not answer call coming in from the gateway > (which is on the local LAN) and you can't even reload it - just hangs > there. If I change the DNS setting in resolv.conf to something else > which is reachable all is well again. > > I have tried setting srvlookup=no in sip.conf but it made no difference. > > Does anyone know how I to make Asterisk continue working for local LAN > users/gateways when a DNS server is not reachable?How about running a DNS caching server on the same machine as Asterisk? -dsr-