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

Rich Adamson radamson at routers.com
Tue Jun 21 05:58:47 MST 2005


Sure, put the entry in /etc/hosts. Check the /etc/host.conf to ensure
something like:
 order hosts,bind
is defined. That essentially tells your system to first check the
/etc/host for the host name and if not found use bind (dns).

------------------------
> I'd really rather not run a DNS server if I don't have to. Surely ther
> must be a way to tell Asterisk not to rely on DNS?
> 
> 
> 
> On 6/21/05, Guido Hecken <guido.hecken at gwsnettech.de> 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?
> > 
> > Try to use bind on the * Machine and configure it as a caching only
> > nameserver.
> > 
> > Hope, this helps
> > 
> > Regards,
> > 
> > Guido Hecken
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

---------------End of Original Message-----------------





More information about the asterisk-users mailing list