Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk temporary hangs when no internet connection


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
eric at fnords.org
Guest





PostPosted: Mon May 19, 2008 10:16 am    Post subject: [asterisk-users] Asterisk temporary hangs when no internet c Reply with quote

Seems like it would have been much simpler just to correct your
/etc/hosts file. Most systems check /etc/hosts before consulting DNS
for IP and host information.

Loic DIDELOT wrote:
Quote:
Hello,
sorry for dropping in so late but I encountered the same problems so I
started playing around with IPTABLES and DNS servers.

For me it looks like asterisk has a problem because it seems to do
reverse dns lookups (PTR records).

For me the following helped:
I installed a local dns recursor. I used the one from powerdns (apt-get
install pdns-recursor). Then I put 127.0.0.1 as only nameserver in
my /etc/resolv.conf. Next thing I did is telling my dns server to be
contain authoritative data for the "in-addr.arpa" zone. I added the
following line
"?auth-zones=in-addr.arpa=/etc/powerdns/zone-in-addr.arpa"
to /etc/powerdns/recursor.conf and then created an empty
file /etc/powerdns/zone-in-addr.arpa.
Now things seem to work without internet.


I do not understand why a PBX is such dependent on internet (DNS)
connectivity. Maybe someone from the dev list can clear things up.

If I disable DNS lookups by some router/iptables magic asterisk cant
even do a normal reload.
wide.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services