[Asterisk-Users] Asterisk does not function without a DNS ser ver

Guido Hecken guido.hecken at gwsnettech.de
Mon Jun 20 23:25:50 MST 2005


> 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?

Try to use bind on the * Machine and configure it as a caching only
nameserver.

Hope, this helps

Regards,

Guido Hecken



More information about the asterisk-users mailing list