Far out! I have found the problem and it all due to the fact that I don't know 
what I am doing (

When I do tcpdump on eth0 (WAN), every call I make e.g. even extension to 
extension does this:
09:28:14.684997 IP 172.17.17.200.54004 > 172.17.17.1.domain: 60192+ AAAA? 
3999-IBCBuild-CM1.ipcsolutions.local. (54)
09:28:14.685599 IP 172.17.17.1.domain > 172.17.17.200.54004: 60192 NXDomain 
0/0/0 (54)
09:28:14.701505 IP 172.17.17.200.52348 > 172.17.17.1.domain: 26730+ AAAA? 
3999-IBCBuild-CM1.ipcsolutions.local. (54)
09:28:14.701989 IP 172.17.17.1.domain > 172.17.17.200.52348: 26730 NXDomain 
0/0/0 (54)

Why is it trying to resolve my local host? 
When I check local domain it fixes this problem but is this the best practice?
Sorry Im a little confused!

Regards
Michael Knill

-----Original Message-----
From: Lonnie Abelbeck <li...@lonnie.abelbeck.com>
Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
Date: Saturday, 23 September 2017 at 8:50 am
To: AstLinux List <astlinux-users@lists.sourceforge.net>
Subject: Re: [Astlinux-users] Delay after Asterisk Dial when no DNS

Hi Michael,

It is my understanding that chan_sip trunks only does DNS lookups at (asterisk) 
startup unless you enable ...  dnsmgr.conf -> enable=yes .  Possibly registers 
always do DNS lookups, not certain.

As long as local DNS entries are in your hosts file (Network tab -> DNS 
Forwarder & DHCP Server: { Configure DNS Hosts } it should work, I would guess.

In the old days, I recall running Asterisk 1.2 and 1.4 on single core boxes 
like the PC Engines WRAP and Soekris net4801, and Asterisk DNS lookups were 
blocking and could *totally* lock-up a system when the WAN connection went 
down.  I have not seen than behavior, personally, in quite some time.  
Multi-core and dnsmasq helps.

Lonnie


On Sep 21, 2017, at 6:49 PM, Michael Knill <michael.kn...@ipcsolutions.com.au> 
wrote:

> Is it possible to resolve this problem E.g. if you lose your WAN (and 
> therefore DNS), you can still make internal calls without the large delay?
>  
> Regards
> Michael Knill
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to